def main(): print('Welcome to PyQuad. Please enter the coefficients of your equation.') print(u'f(x)=ax\u00b2+bx+c') a = raw_input('Input a: ') b = raw_input('Input b: ') c = raw_input('Input c: ') q = Quad.Quadratic(a, b, c) while True: choice = raw_input( 'Do you want info(I), graph(G) or evaluation(E) ?\n> ') while True: if choice.lower() == 'i': info(q) break elif choice.lower() == 'g': graph(q) break elif choice.lower() == 'e': evaluation(q) break else: print('Input i, g or e') break choice = raw_input('Quit or Main Menu (Q, M)?\n> ') if choice.lower() == 'q': break