Commit 68d7fcea by BellCodeEditor

auto save

parent 546042c8
Showing with 55 additions and 4 deletions
import turtle
p=turtle.Pen()
def xxxx(x,y,r,c):
p.pensize(10)
p.penup()
p.goto(x,y)
p.pd()
p.pencolor(c)
p.circle(r)
xxxx(-90,0,50,"blue")
xxxx(0,0,50,"black")
xxxx(90,0,50,"red")
xxxx(-60,-40,50,"yellow")
xxxx(60,-40,50,"green")
turtle.done()
\ No newline at end of file
list["石头","剪刀","布"]
if player in list:
else:
print("输入错误")
import turtle
p=turtle.Pen()
def x(r,y):
p.penup()
p.goto(0,y)
p.pd()
p.circle(r)
x(10,25)
x(15,20)
x(20,15)
x(25,10)
x(30,5)
x(35,0)
x(40,-5)
x(45,-10)
x(50,-15)
x(55,-20)
turtle.done()
\ No newline at end of file
import turtle
p=turtle.Pen()
p.penup()
p.goto(-50,-50)
p.pd()
p.goto(-50,50)
p.goto(50,50)
p.goto(50,-50)
p.goto(-50,-50)
p.penup()
p.goto(0,-25)
p.pd()
p.begin_fill()
p.fillcolor("blue")
p.circle(25)
p.end_fill()
turtle.done()
\ No newline at end of file
a=input()
print("百位:"+a[0]+"十位:"+a[1]+"个位:"+a[2])
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