Commit d162adf4 by BellCodeEditor

save project

parent f8984436
Showing with 6 additions and 12 deletions
import random
p=input("出拳")
print("玩家出"+p)
l=["石头","剪刀","布"]
c=random.choice(l)
print(c)
if p==c:
print("平局")
elif p=="剪刀" and c=="布"or p=="石头" and c=="剪刀" or p=="布" and c=="石头":
print("你有了")
else:
print("你无了")
import turtle
p=turtle.Pen()
p.write("卧恨春\n卧恨春\n卧是春绿\n叶是易透竹")
p.hideturtle
turtle.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