In this section, we begin with the basics.
We will talk about what a programming language is and how computers use them to perform operations.
We discuss why we chose the Python language for this course.
We learn about core concepts like variables, data-types, and functions.
We will become familiar with the core data-types built into Python, some standard functions we will frequently use, and learn how to define our own functions.
By the end, you should have a solid grasp on core Python concepts, be prepared to study the next sections on numerical programming, and feel comfortable handling data.
- Control Flow
The "Clone" button helps you obtain a local copy of the lecture notebooks
Select an option
QuantEcon Notebook Launcher
Choose public or private JupyterHub cloud service for "Launch" button.
The Pacific Institute of Mathematical Sciences (PIMS) is providing the public pims.syzygy.ca hub "as is", and may be turned off at any time, so backup your notebooks. Storage used by accounts with more than 30 days of inactivity may be recycled.
Select a server