Starter Quiz
Question 1 of 6
1
of 6
What does a for loop do in Python?
Select one answer
checks if a condition is true or false
stops the program
executes a block of code repeatedly for a specific range or sequence
converts a string to a number
Think about how a loop works with a sequence like a list or range.
Need a hint?
Check