Commit 0e4de2bb by BellCodeEditor

save project

parent f78cef23
Showing with 4 additions and 2 deletions
...@@ -3,4 +3,6 @@ print("老八"+prayer) ...@@ -3,4 +3,6 @@ print("老八"+prayer)
import random import random
listl = ["剪刀","石头","布"] listl = ["剪刀","石头","布"]
com = random.choice(listl) com = random.choice(listl)
print("电"+com) print("电"+com)
\ No newline at end of file if (player == "剪刀" and com =="布") or (player == "石头" and com == "剪刀") or (player == "布" and com == "石头")
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