What is iteration in Python? Iteration means repeating a block of code multiple times without writing the same code again and again. It helps make Python programs shorter, cleaner, and more efficient. What are the types of iteration in Python? The main types include for loops, while loops, and nested loops. What is a for loop? A for loop is useful when you know how many times you want to repeat an action. Example: looping through numbers, lists, or other collections. What is a while loop? A while loop repeats code as long as a condition remains True. It is useful when the number of repetitions isn't known in advance. What is a nested loop? A nested loop is a loop inside another loop. It is commonly used for working with tables, grids, patterns, and other multi-level data.