10 2020 档案

摘要:import time import turtle as tt # 绘制间隔 def drawGap(): tt.penup() tt.fd(5) # 绘制单段数码管 def drawLine(draw): drawGap() if (draw): tt.pendown() else: tt.pen 阅读全文
posted @ 2020-10-19 11:58 锂加熔融的锌盐 阅读(55) 评论(0) 推荐(0)
摘要:import turtle n = 60 x = -300 y = -300 def main(): turtle.speed(11) turtle.pensize(2) turtle.penup() for i in range(8): for j in range(8): turtle.goto 阅读全文
posted @ 2020-10-06 16:21 锂加熔融的锌盐 阅读(118) 评论(0) 推荐(0)
摘要:from turtle import * setup(800, 800, 100, 100) fillcolor('#FFFFFF') begin_fill() circle(100, 180) circle(200, 180) seth(180) circle(-100, 180) end_fil 阅读全文
posted @ 2020-10-06 16:18 锂加熔融的锌盐 阅读(105) 评论(0) 推荐(0)
摘要:turtle.color("red") turtle.penup() turtle.goto(coordA[0], coordB[0]) turtle.pendown() turtle.circle(45) turtle.color("blue") turtle.penup() turtle.got 阅读全文
posted @ 2020-10-06 16:16 锂加熔融的锌盐 阅读(199) 评论(0) 推荐(0)
摘要:import turtle number = int(input()) turtle.screensize(600,500,'white') turtle.pensize(3) turtle.pencolor('blue') turtle.fillcolor('yellow') turtle.beg 阅读全文
posted @ 2020-10-06 16:11 锂加熔融的锌盐 阅读(131) 评论(0) 推荐(0)
摘要:import turtle r=eval(input("半径:")) x=eval(input("个数:")) c=input("颜色:") turtle.pencolor(c) turtle.pensize(3) for i in range(x): turtle.circle(r) turtle 阅读全文
posted @ 2020-10-06 16:09 锂加熔融的锌盐 阅读(142) 评论(0) 推荐(0)