Commit 2f74f584 by BellCodeEditor

save project

parent 3b93855d
Showing with 10 additions and 4 deletions
import random import random
com=["石头","剪刀","布"] a = input()
comper = random.choice(com) if a=="1":
print("电脑出拳为:"+comper) print("1")
\ No newline at end of file elif a=="2":
print("2")
elif a=="3":
print("3")
else:
print("0")
\ 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