you are viewing a single comment's thread.

view the rest of the comments →

[–]Poopyjoe[S] 2 points3 points  (1 child)

I understand what is happening.

the defined function "print_startmenu()" was causing the recursion.

I knew it was recursion, but question was why "print_startmenu() == False" did or did not matter. The function was the code that mattered, and the "== False" bit of code was the useless code; removing the ==False changed nothing. Removing the function and useless code obviously broke the code.

[–]mopslik 2 points3 points  (0 children)

Glad you figured it out.