Commit 43adac85 by BellCodeEditor

save project

parent c550c37b
Showing with 6 additions and 6 deletions
...@@ -4,11 +4,11 @@ import random ...@@ -4,11 +4,11 @@ import random
list=["石头""剪子""布"] list=["石头""剪子""布"]
sb=random.choice(list) sb=random.choice(list)
print(sb) print(sb)
if name==sb:
print("平局")
elif:()
print("你赢了")
else
print("你输了")
name=input("请出拳(石头,剪子,布)")
print=("玩家出拳"+name)
import random
list=["石头""剪子""布"]
sb=random.choice(list)
print(sb)
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