Tag Archives: Python

How To Make a Game With Python

Python is one of the simplest and straightforward programming languages, that make it easy for the developer to put logic simply, without worrying about the complex syntax of the programing language. And what could be more logical than writing the code for a game in a programming language? When it comes to development with Python, rather than building… Read More »

Enumerate In Python

In Python when we loop over a list or array we generally use the for loop iterator and iterate over the list’s elements one by one. But many times, we come across the logic where we want the list elements and their index counter value. In that case, we can either use the range function with list length… Read More »

A Guide to Flatten List & List of Lists in Python

Python List is one of the widely used Python data containers. The list can store multiple data objects. It can store any type of Python data object including itself. A list containing a list is known as a multi-dimensional list, it could be 2D, 3d, or multi-d. Often in Python interviews, the developer asks to flatten a Python… Read More »