Do Now 4.02
Copy and run the following code into the interpreter.
for i in range(0, 10): print(i)
Write down what the range function does.
Use the
range
andlen
functions to make a for loop that loops througha
.a = ['apples', 'oranges', 'pears', 'grapes']