Commit 7a6ad747 by BellCodeEditor

save project

parent 037a1b74
Showing with 33 additions and 3 deletions
rplaye=input("请出拳(石头/剪刀/布):") import turtle
print("玩家出拳:"+rplaye) screen=turtle.Screen()
\ No newline at end of file screen.bgcolor("green")
pen=turtle.Pen()
pen.write("春晓\n春眠不觉晓\n处处闻啼鸟\n夜来风雨声\n花落知多少",font=("times",20,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(5)
pen1.pencolor("yellow")
pen1.penup()
pen1.goto(-100,100)
pen1.pendown()
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
pen2=turtle.Pen()
pen2.penup()
pen2.goto(100,-100)
pen2.pendown()
pen2.pensize(2)
pen2.fillcolor("red")
pen2.begin_fill()
for i in range(5):
pen2.forward(100)
pen2.right(144)
pen2.end_fill()
pen2.hideturtle()
turtle.done()
\ No newline at end of file
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