ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 10 May 2012 22:04:53 +0200Difference between var() commandshttps://ask.sagemath.org/question/8914/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.Thu, 10 May 2012 20:48:21 +0200https://ask.sagemath.org/question/8914/difference-between-var-commands/Answer by Mike Hansen for <p>x,y = var('x y')</p>
<p>x,y = var('x, y')</p>
<p>What is the difference between having the comma in between variable names? As opposed to just a space separating them.</p>
https://ask.sagemath.org/question/8914/difference-between-var-commands/?answer=13564#post-id-13564There is no difference in terms of what is returned -- you can use whichever you prefer. However, you have to be consistent.Thu, 10 May 2012 21:23:53 +0200https://ask.sagemath.org/question/8914/difference-between-var-commands/?answer=13564#post-id-13564Comment by Jason Grout for <p>There is no difference in terms of what is returned -- you can use whichever you prefer. However, you have to be consistent.</p>
https://ask.sagemath.org/question/8914/difference-between-var-commands/?comment=19794#post-id-19794"being consistent" means that you can't do `var('x,y z')`Thu, 10 May 2012 22:04:53 +0200https://ask.sagemath.org/question/8914/difference-between-var-commands/?comment=19794#post-id-19794