<filename>CODES/S6 - Program Control Flow/6-rangedemo.py
"""
Built-in function
Creates a sequence of numbers but does not save them in memory
Very useful for generating numbers
"""

a = range(0, 20, 6)
print(a)
print(type(a))

print(list(a))


l = [1, 2, 3]

for num in range(1, 4):
    print(num)
<filename>CODES/S6 - Program Control Flow/6-rangedemo.py
"""
Built-in function
Creates a sequence of numbers but does not save them in memory
Very useful for generating numbers
"""

a = range(0, 20, 6)
print(a)
print(type(a))

print(list(a))


l = [1, 2, 3]

for num in range(1, 4):
    print(num)
Built-in function Creates a sequence of numbers but does not save them in memory Very useful for generating numbers