Num_Random = random.randint(1, 109)print('The randomly generated value is :', Num_Random)num = int(input('please enter a number betmeen 1 and 109:'))while 1 < num < 110:if num == Num_Random:print('Congratulations,you got it!')breakelse:print('Answer is wrong,please re-enter the number between 1~109!')num = int(input('please enter a number betmeen 1 and 109:'))