第10778题 单选题
Python Turtle绘制等分射线代码,下列说法正确的是

输入8时需要输出如下图形: 目标图形 现有代码如下:

import turtle
N = int(input("请输入射线数量:"))
Angle = 360 / N # 计算出每条射线之间间隔的角度

for i in range(N):
  turtle.right(Angle)
  turtle.forward(100)
  turtle.goto(0,0)

turtle.done()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析