Computer Science - Text-Based Programming - Python - For loops and range - For Loops and Range
5 sections. Section 1 'For vs While': For loops = known number of iterations (count from 1 to 10). While loops = unknown iterations (keep going until user says stop). For loops can't accidentally be infinite! Section 2 'range() Function': range(5) → 0,1,2,3,4 (starts at 0, stops BEFORE 5). range(2,8