I have this functions:
main(), menu1(),menu2() and so on. Main function takes an input and call one of the menu() functions so ... menu1(),menu2() functions needs to be defined before the main() function. The problem appears when i want to call the main() function inside one of the menu() functions. ”NameError: name 'main' is not defined” because main() is defined after those functions.. How can I solve this ?
I hope that you understand what's my problem:D
Thanx in advance !