Home Coding Functions – range()

Functions – range()

0
Functions – range()

# Deep in lists
#
# What can we do with lists? Let's play with it.
# Today we try the range() function.
# range() make a list on the fly with integers numbers.

# Let's create some lists 
list1 = range(4)
list2 = range(4,6)
list3 = range(0,6,2)

# copy www.AEC.codes
OUT = list1,list2,list3