Apr-24-2017, 05:26 PM
(Apr-24-2017, 04:48 PM)ichabod801 Wrote: Well, generally this would all be in a loop that would go until you got a 2 (exit). Then you could have a sub-loop for sub-menus.
I would suggest having each menu loop in it's own function, that returns when the loop is over. Then you would have something like:
if menu == 1: math_menu()It help organize your code.
how will that look in my code,i have just started learning and can't get where/how to use the "math_menu()" part
i just need to see it in my code as i know what does what there,i tried reading that thread but i don't understand how to apply that to my script,thanks in advance ,and sorry for being inexperienced and dumb.not good at understanding others code