I want to print inside a while loop only once. As shown below:
# Starting a while-loop
while True:
# Asking for input(a and b)
a = int(input('enter a number'))
b = int(input('enter another number'))
# If a is bigger than print('bigger than b')
if a>b:
print('a is bigger then b')
# Otherwise...
else:
print('b is bigger than a')
# Start all over again from a = int(input('enter a number'))
Now I don't want to entirely stop the loop using break or condition = True. I just want the loop to start all over again.
If you want any clarifications, feel free to ask
b is bigger than ab is bigger than ab is bigger than a