Your First Python Program

  • Mark Pilgrim


Books about programming usually start with a bunch of boring chapters about fundamentals and eventually work up to building something useful. Let’s skip all that. Listing 1-1 is a complete working Python program that probably makes absolutely no sense to you. Don’t worry about that because you’ll dissect it line by line. But read through it first and see what, if anything, you can make of it.


Code Block File Size Python Program Python Code Curly Brace 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Mark Pilgrim 2009

Authors and Affiliations

  • Mark Pilgrim

There are no affiliations available

Personalised recommendations