Commit bd96710f by BellCodeEditor

save project

parent a34c8651
Showing with 7 additions and 2 deletions
......@@ -3,4 +3,9 @@ print("玩家:"+p)
import random
dl=["石头","剪刀","布"]
dl=random.choice(dl)
print("电脑,"+dl)
\ No newline at end of file
print("电脑,"+dl)
print("电脑"+d)
if p==d:
print("平局")
elif "p=="" and d=="石头" or p=="石头" and d=="剪刀" or "p=="剪刀" and d=="布"
print("玩家赢")
\ 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