Commit 8ef6380c by BellCodeEditor

save project

parent 25abb509
Showing with 15 additions and 3 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳
print("玩家出拳:"+player)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
screen=turtle.Screen()
one=screen.textinput("提示","请输入爱心大小")
len=int(one)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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