用户:
疯掉的星能猫7s5g查看:0 回复:0 评论:0 创建时间:2021-05-08T21:40:46
【作品展示】

【作品介绍】
打印四次三个hello,如果1与1加起来等于2,那么就在正方形左上角画一个圆,正方形绘制坐标;中间,圆绘制坐标;正方形左上角,代码;import turtle _pen = turtle.pen() w=0for_count in range (4)print('hello')print('hello')print('hello')if (1+1==2):
_pen.circle(50)
这就是作品代码~
【作品源代码】
import turtle
__Pen = turtle.Pen()
w = 0
for __count in range(4):
__Pen.forward(100)
__Pen.right(90)
for __count in range(4):
print('Hello')
print('Hello')
print('Hello')
if (1 + 1 == 2):
__Pen.circle(50)
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn