Commit fe6b54e8 by BellCodeEditor

save project

parent 081613c3
Showing with 8 additions and 2 deletions
......@@ -3,4 +3,10 @@ print("玩家出"+p)
import random
list=("石头","剪刀","布")
l=random.choice(list)
print("电脑出",l)
\ No newline at end of file
print("电脑出",l)
if p==l:
print("平局")
elif (p=="剪刀" and l=="石头") or (p=="石头" and l=="布") or (p=="布" and l=="剪刀"):
print("lose")
else:
print("Ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh")
\ 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