Ask Your Question

Difference between var() commands

asked 2012-05-10 13:48:21 -0600

daniel.e2718 gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-05-10 14:23:53 -0600

Mike Hansen gravatar image

There is no difference in terms of what is returned -- you can use whichever you prefer. However, you have to be consistent.

edit flag offensive delete link more



"being consistent" means that you can't do `var('x,y z')`

Jason Grout gravatar imageJason Grout ( 2012-05-10 15:04:53 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-10 13:48:21 -0600

Seen: 184 times

Last updated: May 10 '12