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.Tue, 21 Jan 2020 08:18:22 +0100quick beginner questionhttps://ask.sagemath.org/question/49538/quick-beginner-question/I see in tutorials that spaces are sometimes used although it doesn't seem to affect the functionality.
For instance, instead of `x^2+3*x`, it would be written as `x^2 + 3*x`.
Is this simply for viewing convenience?
Is there anything about using spaces that a beginner should be aware of? (no programming exp)Tue, 14 Jan 2020 05:22:27 +0100https://ask.sagemath.org/question/49538/quick-beginner-question/Answer by slelievre for <p>I see in tutorials that spaces are sometimes used although it doesn't seem to affect the functionality.</p>
<p>For instance, instead of <code>x^2+3*x</code>, it would be written as <code>x^2 + 3*x</code>.</p>
<p>Is this simply for viewing convenience? </p>
<p>Is there anything about using spaces that a beginner should be aware of? (no programming exp)</p>
https://ask.sagemath.org/question/49538/quick-beginner-question/?answer=49579#post-id-49579This follows the Python style guide, also known as "Python enhancement proposal 8" or "PEP8".
- [PEP 8 -- Style Guide for Python Code](https://www.python.org/dev/peps/pep-0008/)
Its goal is to make things easier to read.Fri, 17 Jan 2020 01:21:56 +0100https://ask.sagemath.org/question/49538/quick-beginner-question/?answer=49579#post-id-49579Comment by jkim0231 for <p>This follows the Python style guide, also known as "Python enhancement proposal 8" or "PEP8".</p>
<ul>
<li><a href="https://www.python.org/dev/peps/pep-0008/">PEP 8 -- Style Guide for Python Code</a></li>
</ul>
<p>Its goal is to make things easier to read.</p>
https://ask.sagemath.org/question/49538/quick-beginner-question/?comment=49614#post-id-49614ahh understood. Thank youTue, 21 Jan 2020 08:18:22 +0100https://ask.sagemath.org/question/49538/quick-beginner-question/?comment=49614#post-id-49614