This document contains summaries of two lectures on updating variables and iteration in Python programming. Lecture 17 discusses reassignment of variables to new values and updating variable values based on their previous values. Lecture 18 introduces for and while loops for automating repetitive tasks, the break keyword to terminate loops, and calculating square roots through iterative approximation. The document provides examples of reassigning variable values, updating variables, using for and while loops, and computing square roots with the iterative formula.