Lecture or video

Lecture 4: Loops over Strings, Guess-and-Check, and Binary

This lecture explains iteration in simple programs like guess-and-check, binaries, and fractions in Python. Loops can iterate over any sequence of values including a range for numbers or a string. Guess-and-check provides a simple algorithm for solving problems. When the set of potential solutions is enumerable,…

MIT OpenCourseWare

Loads media from the original provider.

Official media file · MP4 prefix verified 2026-11-20.

Provider-stated course level · Undergraduate

MIT OpenCourseWare · Introduction to CS and Programming using Python · Provider terms

Course instructors · Ana Bell

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022 · item 4

Watch at source ↗

From Introduction to CS and Programming using Python

Computer Science

A successful media check records access to the start of a file. Full playback was not tested.

Inspect provider metadata

Add to a playlist