Completed 4-4 One Million
This commit is contained in:
parent
70240c3f8d
commit
baec2f976c
5
Chapter_04/4-4_oneMillion.py
Normal file
5
Chapter_04/4-4_oneMillion.py
Normal file
@ -0,0 +1,5 @@
|
||||
# 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)
|
||||
Loading…
x
Reference in New Issue
Block a user