Commit ef9fc908 by BellCodeEditor

auto save

parent df47a112
Showing with 13 additions and 0 deletions
import random
a = input("请出拳(石头/剪刀/布):")
if ["剪刀", "石头", "布"]
= [["石头", "剪刀"], ["剪刀", "布"], ["布", "石头"]]
computer = random.choice(b)
print("你出拳:"+player)
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