Commit 4abedc9b by BellCodeEditor

save project

parent 3cebade5
Showing with 4 additions and 4 deletions
p=input("请出拳(石头/布/剪刀):") p=input("请出拳(石头/布/剪刀):")
print("你出了"+p) print("你出了:"+p)
import random import random
w={"石头","布","剪刀"} w=["石头","布","剪刀"]
q=random.choice(w) q=random.choice(w)
print(q) print("计算机出了:")
\ 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