- 法国国旗
大家看看哪里不对
- 2023-3-12 16:00:51 @
def rect_line(x, y,w,h,n):
jump(x,y)
i = 0
while i < n:
rect(x,y,w,h)
x =x+w
i = i+1
def france(x, y):
w = 300
h = 200
rect_line(x,y,w * 1 / 3,h,3)
france(-150,100)
12 条评论
-
小苏苏 LV 4 @ 2023-8-24 11:15:03
from wonderLang import * def rect(w, h): i = 0 while i < 2: forward(w) right(90) forward(h) right(90) i = i + 1 def center_rect(x, y, w, h): jump(x, y) jump(x-w/2, y+h/2) rect(w, h) def germany(x, y): jump(x, y) center_rect(x, y, 300, 200) center_rect(x, y, 300/3, 200) germany(0, 0)
-
2023-7-16 15:24:49@
from wonderLang import *
def rect(x, y, w, h): jump(x, y) angle = 90 i = 0 while i < 2: forward(w) right(angle) forward(h) right(angle) i = i + 1
def center_rect(x, y, w, h): jump(x, y) x1 = x - w / 2 y1 = y + h / 2 rect(x1, y1, w, h)
def rect_line(x, y, w, h, n): jump(x, y) i = 0 while i < n: rect(x, y, w, h) x = x + w i = i + 1
def france(x, y): w = 300 h = 200 rect_line(x, y, w * 1 / 3, h, 3)
france(-150, 100)
🕊️ 1 -
2023-7-4 21:11:52@
你rect呢?
-
2023-7-4 21:10:18@
请你记住
不要在发了 -
2023-6-12 21:16:31@
是这样的
-
2023-6-12 21:16:05@
from wonderLang import * def rect(x, y, w, h): jump(x, y) angle = 90 i = 0 while i < 2: forward(w) right(angle) forward(h) right(angle) i = i + 1 def center_rect(x, y, w, h): jump(x, y) x1 = x - w / 2 y1 = y + h / 2 rect(x1, y1, w, h) def rect_line(x, y, w, h, n): jump(x, y) i = 0 while i < n: rect(x, y, w, h) x = x + w i = i + 1 def france(x, y): w = 300 h = 200 rect_line(x, y, w * 1 / 3, h, 3) france(-150, 100)
-
2023-5-23 21:38:38@
你都没调用函数!
-
2023-5-23 21:08:03@
无语
-
2023-3-16 19:32:19@
他怎么一直在发?
-
2023-3-14 21:14:39@
怎么回事这是
-
2023-3-14 19:05:41@
看一下吧,请点击
-
2023-3-14 11:43:53@
无语......
- 1
信息
- ID
- 56
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 6
- 标签
- 递交数
- 1715
- 已通过
- 578
- 上传者