摘要: #七段数码管绘制import turtle as timport time as Tdef drawGap(): #绘制数码管的间隔 t.penup() t.fd(5)def drawLine(draw): #绘制单段数码管,draw为True时,则实画 drawGap(); t.pendown() 阅读全文
posted @ 2022-12-08 17:47 Listened* 阅读(388) 评论(0) 推荐(0)
摘要: Python 7段数码管绘制 #七段数码管绘制import turtle as timport time as Tdef drawGap(): #绘制数码管的间隔 t.penup() t.fd(5)def drawLine(draw): #绘制单段数码管,draw为True时,则实画 drawGap(); t.pendown() 阅读全文
posted @ 2022-12-08 17:39 Listened* 阅读(157) 评论(1) 推荐(0)