Boston Python workshop 2/Friday tutorial: Difference between revisions

Line 89:
</pre>
 
Giving a name to something, so that you can refer to it by that name, is called '<b>assignment'</b>. Above, we assigned the name 'x' to 4, and after that we can use <code>x</code> wherever we want to use the number 4.
 
Variables can't have spaces or other special characters, and they need to start with a letter. Here are some valid variable names:
Anonymous user