Commit c301d519 by BellCodeEditor

save project

parent 9550eca1
Showing with 14 additions and 9 deletions
import random
list=["剪刀""石头""布"]
letter=random.choice(list)
print(letter)
if player==computer:
print("平局")
elif player=="石头"and computer=="剪刀"
print("恭喜,你yunyun")
\ No newline at end of file
if player in list:
else:
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