Commit db8dbbff by BellCodeEditor

save project

parent 50e2089f
Showing with 5 additions and 13 deletions
player=input("请出拳("石头/剪刀/):")
print("玩家出拳:"+player)
# 玩家出拳
import randow
list=["石头","剪刀",""]
computer=randow.choice(list)
prinot(player)
if player==computer:
print("平局")
elif(player=="石头"and computer=="剪刀") or (player=="剪刀"and computer=="") or (player==""and computer=="石头")
print("你赢了")
else
print("你输了")
import turtle
pen=turtle.pen()
pen.write("你好呀,我收\n到信了",font=("time""30""normal"))
pen.hideturtle()
pen done()
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