Commit 04e52c2d by BellCodeEditor

save project

parent b5c6bbbe
Showing with 21 additions and 0 deletions
import random
a1=input("niyaochudeshoshi(jiandao/shitou/bu)")
print("wanjiachudeshi"+a1)
list=["jiandao","shitou","bu"]
a2=randow.choice(list)
if a1 in list:
if a1==a2:
print("pingshou")
elif(a1=="jiandao" and a2=="bu")or(a1=="shitou"and a2=="jiandao")or(a1=="jiandao"and a2=="bu"):
print("win")
else :
print("lose")
else :
print("你在干嘛?")
\ No newline at end of file
# 玩家出拳
a1=input("请出✂/✊/布")
print("你出的是"+a1)
\ 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