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

An Introduction to Python

Ready to Learn Python? This e-book teaches you how to use the Python shell. Let's get started with Python programming. Python is a programming language, so you can make anything with it. You get: ebook (27 pages), videos (additional videos). What you'll l... (more…)

Read more »