Is there a way to make python jump back to the beginning of your code. Say for example I have a program that contains 3 while loops. I run the programs and get through all the while loops.
Is there a way I can then make the program jump back to line 1 of the code, and start all over again? I know the "continue" statement will take you to beginning of the while loop it is in. Was curious to know if there is another statement or something similar that can take you to beginning of your code from anywhere in your program?
Any help would be greatly appreciated. Spent time googling and searching stack overflow, but everytime I found an instance of this question, it was never really specifically answered, just better code was suggested.
I am a python beginner, so apologize if this is not so clear, or a dump question. Thank you in advance for your time, and any help you can give. =)