Hello again, new problems, when I run my code:
Thanks
#!/usr/bin/python3.6 def main(): from sympy.abc import x, y code = """ x + y + x """ try: e=eval(code) except SyntaxError: print ("errores") print (e) if __name__ == "__main__": main()I've found the following mistake:
Error:UnboundLocalError: local variable 'e' referenced before assignment
What I'm doing wrong?Thanks