Commit c6b4d576 by BellCodeEditor

save project

parent 7cf7403d
Showing with 2 additions and 1 deletions
import random import random
player =input("请出拳:") player =input("请出拳:")
print("你出的是:"+piayer) print("你出的是:"+player)
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