Ask Your Question
1

Difference between var() commands

asked 2012-05-10 20:48:21 +0100

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
4

answered 2012-05-10 21:23:53 +0100

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

Comments

3

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

Jason Grout gravatar imageJason Grout ( 2012-05-10 22:04:53 +0100 )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

Stats

Asked: 2012-05-10 20:48:21 +0100

Seen: 759 times

Last updated: May 10 '12