Lecture 2: Strings, Input/Output, and Branching
This lecture discusses the core elements of programs: strings, input/output, f-strings, operators, branching, and indentation. Big idea: Debug early, debug often. Write a little and test a little. Don’t write a complete program at once. It introduces too many errors. Use the Python Tutor to step through code when you see something unexpected!
Course Info
Instructor
Departments
As Taught In
Fall
2022
Level
Learning Resource Types
theaters
Lecture Videos
notes
Lecture Notes
assignment
Problem Sets
assignment_turned_in
Programming Assignments with Examples
Readings
Recitation Notes