Commit 976ec3ea by BellCodeEditor

auto save

parent e1c6db33
Showing with 7 additions and 6 deletions
import random
play = input ("请出拳:(石头\剪刀\布)"
play = input ("请出拳:(石头\剪刀\布)")
print("玩家出拳"+play)
ilst+["石头","剪刀","布 "]
al=random.choice(ilst)
print("电脑出拳:"+al)
if play ==comput:
if play==(平局)
if print==(平局)
elif play=="石头"com=="剪刀"
print("你赢了")
elif print=="布"com=="石头"
print()
elif...()
...()
elif play=="布"com=="石头"
print("")
elif piay=="剪刀"com=="布"
print("你赢了")
......
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