Commit cd78f6c6 by BellCodeEditor

auto save

parent 23dfff73
Showing with 14 additions and 0 deletions
# 玩家出拳
import random
choise=["石头","剪刀","布"]
print("请出拳(石头/剪刀/布)")
name=input()
if name in choise:
print("玩家出拳: "+name)
else:
print("不符合选项")
computer_choice=["石头","剪刀","布"]
computer=random.choice(computer_choice)
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