Commit e762cd45 by BellCodeEditor

save project

parent 60295291
Showing with 2 additions and 17 deletions
d=['石头','剪刀','布']
if (a in d):
a=input()
print(a)
import random
b=['石头','剪刀','布']
x=random.choice(b)
print(x)
if a==x:
print('平局')
elif (a=='石头' and x=='剪刀') or (a=='剪刀' and x=='布') or (a=='石头' and x=='剪刀'):
print('玩家赢')
else:
print('输')
print('sjdfh')
\ No newline at end of file
impr
\ 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