Difference between var() commands
x,y = var('x y')
x,y = var('x, y')
What is the difference between having the comma in between variable names? As opposed to just a space separating them.
x,y = var('x y')
x,y = var('x, y')
What is the difference between having the comma in between variable names? As opposed to just a space separating them.
There is no difference in terms of what is returned -- you can use whichever you prefer. However, you have to be consistent.
"being consistent" means that you can't do `var('x,y z')`
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-05-10 20:48:21 +0100
Seen: 692 times
Last updated: May 10 '12
How to magically define variables and use functional notation instead of methods
How can I clear an assignment to a variable?
implicitly defining a sequence of variables
Assigning variable values in a program
Finding integer solutions to systems of polynomial equations