Commit 75f8c7e2 by BellCodeEditor

auto save

parent b5c6bbbe
Showing with 17 additions and 0 deletions
player = input("请(石/剪/布):")
print("玩出:"+player)
import random
list=["石","剪","布"]
computer=random.choice(list)
print("机出"+computer)
if player==computer:
print("平")
elif player=="石"and computer=="剪":
print("你赢")
elif player=="剪"and computer=="布":
print("你赢")
elif player=="布"and computer=="石":
print("你赢")
else:
print("你赢")
\ 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