摘要: from math import fabs #导入数学模块 from time import perf_counter #导入时间模块 def Bar(i): #动态文本条 N = pow(10,level) a = int((i/N)*50) b = 50 - a Y , N = '*' * a 阅读全文
posted @ 2020-10-11 08:45 Lydia'summer 阅读(157) 评论(0) 推荐(0)
摘要: import turtle turtle .pu() turtle .fd(-120) turtle.pensize(5) turtle.width(5) turtle.pencolor("gold") turtle.pd() turtle.fd(250) turtle.seth(120) turt 阅读全文
posted @ 2020-09-15 19:27 Lydia'summer 阅读(227) 评论(0) 推荐(0)
摘要: import turtle turtle.fillcolor("red") turtle.begin_fill() turtle.left(30) turtle.forward(144) turtle.right(60) turtle.forward(144) turtle.right(60) tu 阅读全文
posted @ 2020-09-15 19:25 Lydia'summer 阅读(125) 评论(0) 推荐(0)
摘要: import turtle turtle.fillcolor("red") turtle.begin_fill() count=1 while count<=5: turtle.forward(500) turtle.right(144) count+=1 turtle.end_fill() 阅读全文
posted @ 2020-09-15 19:22 Lydia'summer 阅读(82) 评论(0) 推荐(0)