- 一排 5 个正方形(间距 0)
求大佬告诉我这题为什么错
- 2023-1-17 20:53:25 @
from wonderLang import *
def square5_10(x, y, length):
x = 0
y = 0
length = 30
space = 0
i = 0
while i < 5:
square(x, y, length, )
x = x + length + space
i = i + 1
square5_10(0, 0, 30)
4 条评论
-
和平精英 (廖子杨(25)) LV 5 @ 2023-1-18 21:10:50
谢谢各位大佬
-
2023-1-18 10:16:08@
def square(x,y,length): jump(x,y) for i in range(4): forward(length) right(90)
把这个提交上去
-
2023-1-18 10:12:36@
你看看,这是你的代码在python里运行的结果,square函数没有定义
-
2023-1-18 7:34:14@
- 1
信息
- ID
- 46
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 5
- 标签
- 递交数
- 2110
- 已通过
- 846
- 上传者