5 lines
168 B
Python
5 lines
168 B
Python
# Excercise 4-4 One Million
|
|
# Learning Objective: Create a list from a for loop utilizing range method.
|
|
|
|
myList = [value for value in range(1, 1_000_001)]
|
|
print(myList) |