I'm an absolute beginner. I needed help in creating a "loop"(idk if that's what it would be called).
Basically I want to know how I can make a menu where I can select an option and then go back to the previous menu and creating kind of a loop somehow, idk I'm really bad at explaining.

I need this only using Python and nothing else

I've read a lot of books about Python and by far the best one for beginners is Beginning Python: From Novice to Professional by Magnus Lie Hetland.