摘要: import turtlecoordA=(-100,0,100,-50,50)coordB=(-20,-20,-20,-70,-70)turtle.width(5)turtle.color("red")turtle.penup()turtle.goto(coordA[0],coordB[0])tur 阅读全文
posted @ 2021-10-13 21:29 便当可可 阅读(41) 评论(0) 推荐(0)
摘要: import turtlenumber = int(input()) turtle.screensize(600,500,'white')turtle.pensize(3) turtle.pencolor('blue') turtle.fillcolor('yellow') turtle.begin 阅读全文
posted @ 2021-10-13 21:10 便当可可 阅读(40) 评论(0) 推荐(0)
摘要: rmin=eval(input())number=eval(input())color=input()import turtle as tt.pencolor(color)t.pensize(4)for i in range (number): t.circle(rmin) rmin=rmin+20 阅读全文
posted @ 2021-10-13 20:33 便当可可 阅读(56) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-10-13 19:44 便当可可 阅读(9) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-14 20:27 便当可可 阅读(35) 评论(0) 推荐(0)
摘要: 开学初,Python进门。有点基本的C语言基础,Python还是较好理解。Python的阅读轻松畅快需要其编写规范,对比C语言,Python可以适当使用异常处理结构,提高程序容错率,相当便捷。同时,Python的使用也是相当快捷便利,不需要过多的语言。事实上,Python的应用也相当广泛:人工智能、 阅读全文
posted @ 2021-09-05 22:16 便当可可 阅读(58) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-05 21:44 便当可可 阅读(20) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-05 21:28 便当可可 阅读(41) 评论(0) 推荐(0)