摘要: import math 2 import time 3 scale=10 4 print("执行开始") 5 t=time.process_time() 6 for i in range(scale+1): 7 a,b='**'*i,'..'*(scale-i) 8 c=(i/scale)*100 阅读全文
posted @ 2020-04-01 15:52 cjl1124 阅读(86) 评论(0) 推荐(0)
摘要: import turtle def curvemove(): for i in range(200): turtle.right(1) turtle.forward(1) turtle.color('red','pink') turtle.begin_fill() turtle.left(140) 阅读全文
posted @ 2020-03-19 19:58 cjl1124 阅读(444) 评论(0) 推荐(0)
摘要: 1.五角星 import turtle turtle.fillcolor("red") turtle.begin_fill() count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count += 1 turtle.en 阅读全文
posted @ 2020-03-14 09:09 cjl1124 阅读(128) 评论(0) 推荐(0)
摘要: import turtle turtle.fillcolor("red") turtle.begin_fill() count = 1 while count <= 5: turtle.forward(100) turtle.right(144) count += 1 turtle.end_fill 阅读全文
posted @ 2020-03-11 16:04 cjl1124 阅读(97) 评论(0) 推荐(0)