122

陆守畅  •  26天前

import random
s=100
x=0
a=60
while 1==1:
b=int(input(f'猜呀{x}~{s}:'))
if a==b:
print('你被炸死了!')
break
elif b>a:
print('猜大了')
s=b
a=a+1
else:
print('猜小了')
x=b
a=a-2


评论:

登录后才能进行解题交流。