Commit 73a592e8 by BellCodeEditor

auto save

parent f0c715f8
Showing with 27 additions and 0 deletions
import turtle
a=turtle.Pen()
b=turtle.Pen()
a.pensize(10)
a.pencolor("red")
b.pensize(10)
b.pencolor("black")
for i in range(361):
a.penup()
a.goto(-200,0)
a.pendown()
a.speed(10)
a.circle(50,i)
b.penup()
b.goto(0,0)
b.pendown()
b.speed(10)
b.circle(50,i)
turtle.done()
import random
while True:
a=random.randint(1,20)
b=input("输入数:")
if a==int(b):
print("猜对了")
break
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment