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

Content added Content deleted
imported>Jesstess
imported>Pcollins
mNo edit summary
Line 3: Line 3:
This tutorial covers several core programming concepts that we'll build upon during an interactive lecture tomorrow morning. It will take 1-2 hours to complete. There's a break in the middle, and exercises at the middle and end to help review the material.
This tutorial covers several core programming concepts that we'll build upon during an interactive lecture tomorrow morning. It will take 1-2 hours to complete. There's a break in the middle, and exercises at the middle and end to help review the material.


This is an interactive tutorial! As you go through this tutorial, any time you see something that looks like this:
This is an interactive tutorial! First start the Python prompt from the command line, by typing python and hitting return. As you go through this tutorial, any time you see something that looks like this:


<pre>
<pre>
Line 9: Line 9:
</pre>
</pre>


you should type the expression at a Python prompt, hitting Return after every line and noting the output.
you should type the expression at the Python prompt, hitting Return after every line and noting the output.


No copying and pasting! You'll learn the concepts better if you type them out yourself.
No copying and pasting! You'll learn the concepts better if you type them out yourself.