Commit f730b2c8 by BellCodeEditor

save project

parent 02b1bcdf
Showing with 9 additions and 2 deletions
player=input("请输入你要出的拳(石头,剪刀,布):")
print("玩家出的拳是:"+player)
\ No newline at end of file
print("玩家出的拳是:"+player)
"""q
电脑出拳
"""
import random
list=["石头","剪刀","布"]
q=random.choice(list)
print("电脑出的拳是:"+q)
\ 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