import random
secret = random.randint(1,10)
temp = input("输入:")
guss = int(temp)
if guss != secret:
while guss != secret:
if guss > secret:
print("大了")
else:
print("小了")
temp = input("输入:")
guss = int(temp)
if guss == secret:
print("good!")
print("No price")
print("game over!")
break
else:
continue
else:
print("good!")
print("No price")
print("game over!")
secret = random.randint(1,10)
temp = input("输入:")
guss = int(temp)
if guss != secret:
while guss != secret:
if guss > secret:
print("大了")
else:
print("小了")
temp = input("输入:")
guss = int(temp)
if guss == secret:
print("good!")
print("No price")
print("game over!")
break
else:
continue
else:
print("good!")
print("No price")
print("game over!")