Commit cdc552f9 by BellCodeEditor

save project

parent 23dfff73
Showing with 11 additions and 0 deletions
#电脑出拳
import random
list = ("石头", "剪刀","布")
nn = random.choice(list)
rr = input("请输入你的出拳")
if nn == rr:
print("平局")
elif nn == "石头":
if rr == ""
print("你输了!继续加油哦!")
else:
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