Commit 5fbdcb71 by BellCodeEditor

save project

parent 387c6e62
Showing with 17 additions and 6 deletions
import turtle
pen=turtle.Pen()
pen.write("你好鸭!",font=("Timrs",30,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
p=input("你想出啥1 2 3")
print("玩家"+p)
import random
l=["1","2","3"]
a=random.choice(l)
print("计算"+a)
if p==a:
print("平")
else:
if ("p==1"and"a==2") or ("p==2"and"a==3") or ("p==3"and"a==1"):
print("赢")
else:
print("输")
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