First time here? Check out the FAQ!
asked 8 years ago
I have a file ~/foo.py
~/foo.py
from sage.all import * def my_func(n): var('t') f(t) = t**n return f(t)
But issuing sage: import foo raises the error SyntaxError: can't assign to function call
sage: import foo
SyntaxError: can't assign to function call
What am I doing wrong?