Commit 52db4291 by BellCodeEditor

save project

parent 9d7a25d9
Showing with 5 additions and 0 deletions
#玩家出拳 #玩家出拳
name=input("玩家请出拳(石头,剪刀,布):") name=input("玩家请出拳(石头,剪刀,布):")
print("玩家所出拳"+name) print("玩家所出拳"+name)
import random
list1=["石头","剪刀","布"]
lt=random.choice(list1)
print("机器所出拳"+lt)
\ 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