Commit b91cdecc by BellCodeEditor

save project

parent a680afd0
Showing with 0 additions and 2 deletions
player=input("你出什么拳") player=input("你出什么拳")
print("我出石头"+player) print("我出石头"+player)
import random import random
player=input("请出拳(石头/剪刀/布):")
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
computer=random.choice(list) computer=random.choice(list)
print(computer) print(computer)
\ 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