Category: Learn Python

Recursion in Python

Recursion generally means finding a solution to a problem by repeatedly solving the simpler versions of the same problem. A similar meaning applies to recursions in programming languages, where we...

Python exec() with Examples

We are going to discuss another built-in function in Python. This is Python exec(), which is a short form for execution. This article will learn this function, its parameters, and...

Python zip() Function

In the real world, zip is a device that interlocks two things. In Python, the zip() function has a similar meaning. In this article, we will learn the zip() function,...

Python range() Function

Seeing the word ‘range’ you would remember values that lie in a particular interval. The function in Python has a similar function. In this article, we will learn the range()...

Built-in Functions in Python

One of the reasons for which Python is preferred over the other languages is the huge collection of built-in functions. You would have come across some of these like print(),...

Functions in Python

You might have encountered a lot of functions like print(), etc. till now. These are built-in functions, whose properties are pre-defined. What if you want to create your own function,...

Python Iterators

Iterators help us in iterating over an iterable object. They are an essential component of every program, no matter how little. They add flexibility to our program and make it...