This post is meant to be short and self explanatory. We can easily create lists in python based on given conditions.
Have a look:
1 |
list = [x for x in range(1,100)] |
It would create a list containing 1 to 99. I get impressed by the power of Python the more I dig deeper into this fantastic language.