Commit 27b3dbaf by BellCodeEditor

save project

parent f027da2f
Showing with 6 additions and 3 deletions
......@@ -3,5 +3,9 @@ a=input("begin")
print("我出的拳"+a)
import random
list=["石头","剪刀","布"]
a=random.choice(list)
print(a)
\ No newline at end of file
b=random.choice(list)
print(b)
if a==b:
print("平局")
eilf (a=="石头" and b=="剪刀")or(a=="布" and b=="石头") or(a=="剪刀" and b=="布"):
print("I am win")
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