You can iterate over a range of numbers in Python using a for loop. Here's how you can iterate numbers from 10000 to 100008:
main.py44 chars3 lines
This will print each number from 10000 to 100008 on a new line. If you want to store these numbers in a list, you can do it like this:
main.py66 chars4 lines
Now the numbers
list will contain all the numbers from 10000 to 100008.
gistlibby LogSnag