#猜价钱 trueprice = 202 price = input("Please guess the price:") while (int(price) != trueprice):if(int(price) > trueprice):price = input("Your price is higher,Please try again:")else:price = input("Your price is lower,Please try again:") print("Great! The price is %s" %price)