3.1.3 Custom Bounds with range(start, stop)

Unit: Unit 3: Loops • Interactive Practice

Quick Answer & Summary:

Interactive Python programming tutorial and practice in your browser.

Interactive Challenge (Run Live in Browser):

# Iterate from 10 to 15 (inclusive start, exclusive stop)
for num in range(10, 16):
    print("Processing item #", num, sep="")

print("Range traversal complete.")
Open in Live Interactive Python Sandbox →