Commit a270437d by BellCodeEditor

auto save

parent b5c6bbbe
Showing with 13 additions and 0 deletions
import random
score=0
while True:
player=input("请出拳(石头、剪刀、布)")
list=["石头","剪刀","布"]
computer=random.choice(list)
if player in list:
print("chuqan:"+player)
print("jiqirenchuquan:"+computer)
if player == computer:
print("pingju")
\ 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