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
notes
Lecture Notes
theaters
Lecture Videos
podcasts
Podcasts
assignment
Problem Sets
notes
Problem-solving Notes
assignment_turned_in
Programming Assignments with Examples
auto_stories
Readings