Commit 04884faa by BellCodeEditor

save project

parent 61ce0a8b
Showing with 5 additions and 2 deletions
...@@ -5,4 +5,7 @@ import(random) ...@@ -5,4 +5,7 @@ import(random)
computer = random.choise("剪刀/石头/布") computer = random.choise("剪刀/石头/布")
if name == computer if name == computer
print("平局") print("平局")
eiif name == eiif name == "剪刀" and computer == "石头" or name == "石头" and computer == "布" or name == "布"
\ No newline at end of file print("输了")
else:
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