Splitting up a numbers in Python

therefore you could simply use a for loop.
which looks something like this:

for i in range(10):
    print i

Leave a Comment