Commit 2f74f584 by BellCodeEditor

save project

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