Commit 9f743eea by BellCodeEditor

auto save

parent 3515f1dd
Showing with 14 additions and 2 deletions
# 我们都爱夸夸夸
\ No newline at end of file
import random
list1=['石头','剪刀','布']
computer=random.choice(list1)
player=input('请输入')
while player not in list1:
player=input('请输入')
print(player)
print(computer)
if player==computer:
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