Ask Your Question
1

Difference between var() commands

asked 12 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
4

answered 12 years ago

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.

Preview: (hide)
link

Comments

3

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

Jason Grout gravatar imageJason Grout ( 12 years ago )

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: 12 years ago

Seen: 857 times

Last updated: May 10 '12