Commit 186f2665 by BellCodeEditor

save project

parent 1d8eea51
Showing with 3 additions and 1 deletions
...@@ -6,6 +6,7 @@ competr=random.choice(list) ...@@ -6,6 +6,7 @@ competr=random.choice(list)
print(competr) print(competr)
if player ==competr: if player ==competr:
print("平局") print("平局")
elif(player=="石头"and competr=="剪刀") elif(player=="石头"and competr=="剪刀"):
print("玩家赢")
elif(player=="剪刀"and competr=="布"): elif(player=="剪刀"and competr=="布"):
print("玩家赢") 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