Commit 63dd3621 by BellCodeEditor

save project

parent fe9d9400
Showing with 13 additions and 0 deletions
......@@ -9,3 +9,4 @@ elif (a=="石头" and c=="剪刀") or (a=="剪刀" and c=="布â€) or (a==“å¸
print("我赢了")
else:
print("计算机赢了")
\ No newline at end of file
import random
while True:
wj=input("输入拳名")
quan=["石头","剪刀","布"]
jsj=random.choice(queen):
if wj in quan
if wj==jsj:
print("平局")
elif (wj=="石头" and jsj=="剪刀") or (wj==)
\ 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