![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Zixiang
少儿编程侯老师
这个作者很懒,什么都没留下…
展开
-
ziheng -两个正方形
# 学画直线,转弯 import turtle # 1.forward -----> fd left----->lt # 画画:颜色, turtle.color('blue') # 粗细 width 宽度 pensize尺寸 turtle.width(10) turtle.forward(100) turtle.left(90) turtle.fd(100) tu...原创 2020-01-15 15:19:42 · 524 阅读 · 0 评论 -
Zixiang - python学习判断语句
# 只剩1个人,你的血量得大于0 ph = input("剩余多少血") ph = int(ph) person = int(input("剩余多少人")) if 100> ph > 0 : print("还有的玩") if person== 1: print("大吉大利,今晚吃鸡") elif person> 1: pr...原创 2019-11-10 15:45:15 · 158 阅读 · 0 评论