Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Difference between var('x') and x=var('x')?

In some tutorials, when a variable is declared, it is done like,

var('x')

In some others, it is done like,

x = var('x')

What is the difference between the two, if any?

Also, is it better to ask this kind of basic question in the Asksage forum or the sage-support mailing list?

Thanks for your patience.