This week’s topics
Your first Python program
- Writing and running code
- The print statement
- Using an IDE
What you will be able to do
- 1.2 Write and run a simple Python script.
Activity
Write and run a program that prints a short message.
Study materials
Further resources
- Introduction to Python Programming, 1.1–1.2: First programs and print() · PDF · OpenStax Introduction to Python Programming (2024), 1.1–1.2: writing and running a first program with print(), pp. 8–13 · for registered students
- Introduction to Python Programming, 2.1: The Python shell · PDF · OpenStax Introduction to Python Programming (2024), 2.1: running code in the Python shell, pp. 38–39 · for registered students
- Introduction to Computer Science, 9.3: Integrated Development Environment · PDF · OpenStax Introduction to Computer Science (2024), 9.3 on IDEs such as IDLE and VS Code, pp. 477–478 · for registered students
- Teaching introductory programming: a quantitative evaluation of different approaches · Open-access article · Koulouri et al. (2014), ACM Transactions on Computing Education. Compares Python with Java as a first language for beginners. · for registered students
Materials marked “for registered students” open in the student portal, which is set up as soon as you receive final acceptance.