Python Tutorial

Types, Values, Expressions; Variables and Binding

« Previous | Next »

Before starting these problems, please read:

The problems in the table below are taken from the 6.01 Python Tutor, an interactive environment that is not available on OCW. Do not try to answer these questions in the PDF files; answers will not be checked, and cannot be submitted.

1.1.1 Basic types (PDF)
1.1.2 Numeric expressions (PDF)
1.1.3 Relations and boolean expressions (PDF)
1.1.4 Mixed-type expressions (PDF)
1.2.1 Variable binding (PDF)

« Previous | Next »

Learning Resource Types
theaters Lecture Videos
theaters Recitation Videos
assignment Problem Sets
grading Exams with Solutions
notes Lecture Notes
menu_book Online Textbook
co_present Instructor Insights