Commit 627fc0e9 by BellCodeEditor

save project

parent cd78f6c6
Showing with 3 additions and 3 deletions
...@@ -7,7 +7,7 @@ if name in choise: ...@@ -7,7 +7,7 @@ if name in choise:
print("玩家出拳: "+name) print("玩家出拳: "+name)
else: else:
print("不符合选项") print("不符合选项")
#电脑
computer_choice=["石头","剪刀","布"] computer_choice=["石头","剪刀","布"]
computer=random.choice(computer_choice) computer=random.choice(computer_choice)
print(computer) print("电脑出拳,"+computer)
\ No newline at end of file \ 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