n=0
while n!=1:
     print("You are inside the while loop.")
     print("Press 1 to exit from the loop:")
     n=int(input())
print("You are out of the while loop.")


#OUTPUT:-

 #You are inside the while loop.
 #Press 1 to exit from the loop:
 #6
 #You are inside the while loop.
 #Press 1 to exit from the loop:
 #1
 #You are out of the while loop.