03 2020 档案

摘要:import math import time s=10 t=time.process_time() for i in range(s+1): a,b='**'*i,'..'*(s-i) c=(i/s)*100 π=4*(4*math.atan(1/5)-math.atan(1/239)) prin 阅读全文
posted @ 2020-03-30 08:23 Zeta—— 阅读(147) 评论(0) 推荐(0) 编辑
摘要:turtle.penup()别名turtle.pu():拾起画笔 turtle.pendown()别名turtle.pd():放下画笔, turtle.color(color1, color2):同时设置pencolor=color1, fillcolor=color2。 turtle.pencol 阅读全文
posted @ 2020-03-13 21:23 Zeta—— 阅读(378) 评论(0) 推荐(0) 编辑
摘要:import turtle import time turtle.pensize(2) turtle.pencolor("black") turtle.fillcolor("red") turtle.begin_fill() for _ in range(5): turtle.forward(200 阅读全文
posted @ 2020-03-11 15:30 Zeta—— 阅读(209) 评论(0) 推荐(0) 编辑