6.100L Introduction to CS and Programming Using Python
6.100L Introduction to CS and Programming Using Python (Fall 2022, MIT OCW). Instructor: Dr. Ana Bell. This subject is aimed at students with little to no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help students, regardless of their major, feel justifiably confident in their ability to write simple programs that allow them to accomplish useful goals. The class will use the Python 3 programming language.
(from ocw.mit.edu)
Lecture 02 - 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!