> Here's an error message: > > File "D:\GC.py", line 78 > cal_opt = cal_menu() > ^ > SyntaxError: invalid syntax > > The relevant code: > > option = main_menu() > if option == 1: > cal_menu() > cal_opt = cal_menu()
Consistent indentation is all important in Python Move the linees under the if statement into alignment: if option == 1: cal_menu() cal_opt = cal_menu() My tutor discusses this in the topic on 'Loops' HTH, Alan G Author of the Learn to Program web tutor http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor