Boston Python Workshop 3/Friday/Tutorial: Difference between revisions

Content added Content deleted
imported>Jesstess
imported>Jesstess
Line 185: Line 185:
</pre>
</pre>


are both valid Python <b>syntax</b>.
are both valid Python and mean the same thing.


<pre>
<pre>
Line 197: Line 197:
</pre>
</pre>


are also valid syntax. You should strive to be consistent with whatever syntax you like or a job requires, since it makes reading the code easier.
are also both valid and mean the same thing. You should strive to be consistent with whatever spacing you like or a job requires, since it makes reading the code easier.


You aren't cheating and skipping typing these exercises out, are you? Good! :)
You aren't cheating and skipping typing these exercises out, are you? Good! :)