Commit 10ea89ca by BellCodeEditor

save project

parent c42aad8a
Showing with 2 additions and 1 deletions
m=input("请出拳:石头/剪刀/布") m=input("请出拳:石头/剪刀/布")
print("玩家出拳"+m) print("玩家出拳"+m)
import random import random
a=("石头","剪刀","布") a=["石头","剪刀","布"]
e=random.choice(a) e=random.choice(a)
print(e) print(e)
\ No newline at end of file
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