Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NameError: name 'var' is not defined

I'm using Jupyter Notebook on CoCalc. I can't create symbolic variables.

var('a,b,c')

results in NameError: name 'var' is not defined. I tried

from sage.calculus.var import *

but it still doesn't work and gives the same error.