Commit f01d5736 by BellCodeEditor

save project

parent 15111349
Showing with 7 additions and 4 deletions
# 玩家出拳
player = input("请出拳(石头/剪刀/布):")
print(player+",")
\ No newline at end of file
player = input("請出拳(石頭/剪刀/補):")
print("請出拳"+player)
import random
list = ["石頭","剪刀","補"]
computer = random.choice(list)
print(computer)
\ 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