Commit 7beeed3b by BellCodeEditor

auto save

parent 4cc2753b
Showing with 8 additions and 4 deletions
import random
play=input("请出拳(石头/剪刀/布)")
print("玩家"+play)
list[""]
a1=random.choice(list)
print()
\ No newline at end of file
list["石头","剪刀","布"]
com=random.choice(list)
print("电脑"+com)
if play==com:
print("平局")
elif play == "石头"and com=="剪刀"
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