Commit f42c39a9 by BellCodeEditor

auto save

parent 4cac003e
Showing with 19 additions and 3 deletions
neme=input("输入名字") # import random
print(neme+"你好啊") # wj=input("请出拳")
\ No newline at end of file
# a=['石头','剪刀','布']
# jsj=random.choice(a)
# print('玩家',wj)
# print('计算机',jsj)
wj='石头'
jsj='剪刀'
if wj=='石头' and jsj=='剪刀' or wj=='剪刀' and jsj=='布' or wj=='布' and jsj=='石头':
print('玩家胜利')
elif wj==jsj:
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