Commit 04884faa by BellCodeEditor

save project

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