Category 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 »

Write a Program to Addition, subtraction and multiplication of two numbers using function

In this programming tutorial, you will learn how to write a program in three different programming languages to do Addition, subtraction, and multiplication of two numbers using function. Functions are supported in every programming language, and they make it to write reusable code and make the complete program more modular. Addition, subtraction, and multiplication of two numbers using… Read More »

What is CubicWeb in Python?

CubicWeb is Python’s semantic web application framework that allows its developer to write quality and efficient web applications with the reusability of modules. Logilab started to develop CubicWeb back in 2001 and release it as an open-source framework in 2008. Logilab designed CubicWeb as an offspring project to the Narval research Project and included tools like data server… Read More »