Commit cd0f33db by BellCodeEditor

save project

parent e5c7cf1e
Showing with 3 additions and 3 deletions
r=input("玩家出拳(石头/剪刀/布)") r=input("玩家出拳(石头/剪刀/布)")
print("玩家出拳"+r) print("玩家出拳"+r)
import random as r import random as r
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
computer=r.choice(list) computer=r.choice(list)
print(computer) print("电脑出拳:"+computer)
\ No newline at end of file \ 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