How to use a while loop to restart a program in python. print("invalid input.

How to use a while loop to restart a program in python. while True: # Validate user input.