Professional Documents
Culture Documents
2nd Assignment
2nd Assignment
This chapter is a gentle introduction to the practice of programming in Python. Python is a very rich
language with many features, so it is important to learn to walk before you learn to run. Chapters 1
through 3 provide a basic introduction to common programming ideas, explained in easily digestible
paragraphs with simple examples. If you are already an experienced programmer interested in
Python, you may want to read this chapter quickly and take note of the examples, but until Chapter
3 you will be reading material with which you’ve probably already gained some familiarity in another
language. If you are a novice programmer, by the end of this chapter you will have learned some
guiding principles for programming, as well as directions for your first interactions with a
programming language — Python. The exercises at the end of the chapter provide hands-on
experience with the basic information that you’ll have learned.