Commit e5538e05 by BellCodeEditor

auto save

parent 5215395d
Showing with 14 additions and 3 deletions
while True:
a=input("what you name?")
print('hello! '+a)
\ No newline at end of file
wj=input('请输入(剪刀/石头/布)')
print('玩家出:'+wj)
import random
list=['剪刀','石头','布']
sj = random.choice(list)
print('电脑出:'+sj)
if sj == wj:
print('平局')
elif (sj=='剪刀' and wj=='石头') or (sj=='石头' and wj=='布') or (sj=="布" and wj=='剪刀'):
print("你赢了")
else:
print('你输了')
for i in range(10):
print('废物垃圾250连电脑都输LLLLLLLLLLLLLLLLLL')
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