Commit 5400fb2e by BellCodeEditor

save project

parent 68ea8190
Showing with 8 additions and 1 deletions
# 玩家出拳b # 玩家出拳b
import random
b=["石头","剪刀","布"] b=["石头","剪刀","布"]
a=input("请输入(石头/剪刀/布)") a=input("请输入(石头/剪刀/布)")
print("玩家:"+a) print("玩家:"+a)
c=random.choice(b)
print("电脑:"+c)
if a=="石头",b=="剪刀":
pass
else:
pass
\ 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