Commit 70187df7 by BellCodeEditor

save project

parent 71670a71
Showing with 17 additions and 7 deletions
# 玩家出拳
p = input("妈的,猜拳还怎么慢,快出")
print("出的啥呀?"+p)
import random as r
list=["石头啊","剪刀呦","布欸"]
computer=r.choice(list)
print("该我了"+computer)
\ No newline at end of file
while True:
p = input("妈的,猜拳还怎么慢,快出")
print("出的啥呀?"+p)
import random as r
list=["石头啊","剪刀呦","布欸"]
c=r.choice(list)
print("该我了"+c)
if p == ai:
print("小伙子不错,平局")
elif p == "石头" c == "剪刀"
print("woc,你赢了")
elif p == "布" c == "石头"
print("woc,你赢了")
elif p == "剪刀" c == "布"
print("woc,你赢了")
else:
print("噫,你输了")
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