Making Python Integers Iterable – Arpit Bhayani

In Python, Integers are not iterables but we can make them iterable by implementing __iter__ function. In this essay, we change Python’s source code and implement iter function for integers. Read more

Similar