Commit 0c46ba4f by BellCodeEditor

save project

parent a4fc163b
Showing with 6 additions and 2 deletions
import random
player_1 = input("你要出啥?(剪刀/石头/布)") player_1 = input("你要出啥?(剪刀/石头/布)")
print("玩家出拳"+player_1) print("玩家出拳"+player_1)
\ No newline at end of file computer = ["剪刀","石头","布"]
computer_1 = random.choice(computer)
print("电脑出拳"+computer_1)
\ 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