作者:piprqw然
x=99999999999999999999999999999999999999999999999999999999988888888888888899999999999
while True:
import random
a=random.randint(0,100)
b=int(input('猜猜我想的是什么数?'))
s=1
w=1
f=str(('是'))
while True:
if a==b:
if s<x:
x=s
n=str(s)
h=str(x)
print('正确!猜了'+n+'次.')
print('最高纪录'+h+'次。')
break
else:
s=s+1
if b>a:
b=int(input('大了,再猜猜?'))
else:
b=int(input('小了,再猜猜?'))
c=input('是否再来一把?')
if c !=f:
z=input('那好吧,等你想来时输入“开始”就行了。')