Commit 98d61efc by BellCodeEditor

save project

parent 20abb364
Showing with 1 additions and 1 deletions
...@@ -18,9 +18,9 @@ a.done() ...@@ -18,9 +18,9 @@ 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