Up next

Lecture 2: Strings, Input/Output, and Branching

2 Views· 02/24/26
Generative AI
Generative AI
3 Subscribers
3

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022
Instructor: Ana Bell

View the complete course: https://ocw.mit.edu/courses/6-....100l-introduction-to
YouTube Playlist: https://www.youtube.com/playli....st?list=PLUl4u3cNGP6

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!

License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
Support OCW at http://ow.ly/a1If50zVRlQ

We encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments.

Show more

 0 Comments sort   Sort By


Up next