Commit 98d61efc by BellCodeEditor

save project

parent 20abb364
Showing with 2 additions and 2 deletions
...@@ -17,10 +17,10 @@ a.hideturtle() ...@@ -17,10 +17,10 @@ a.hideturtle()
a.done() a.done()
''' '''
a = input("请出拳:石头/剪刀/布") a = input("请出拳:石头/剪刀/布")
u = input("123")
print("玩家出拳:" + a) print("玩家出拳:" + a)
import random import random
u = input("出")
a = ["石头","剪刀","布"] a = ["石头","剪刀","布"]
s = random.choice(a) s = random.choice(a)
if s == u: if s == u:
......
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