Commit 097c7a05 by BellCodeEditor

save project

parent 269f88bb
Showing with 8 additions and 3 deletions
# 玩家出拳 # 玩家出拳
int=input("玩家请出拳(石头,剪刀,布):") while True:
print("玩家出拳"+int) int=input("玩家请出拳(石头,剪刀,布):")
\ No newline at end of file print("玩家出拳"+int)
import random
li=["石头","剪刀","布"]
o=random.choice(li)
print("电脑出拳"+o)
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