Tag: Python Function

Map function in Python

We want to add 1 in every element of our integer list. How can we do that? There is a smart way to do this in Python, and we can do this by using the map function. It’s a built-in Python function. Using map function you can do anything in your every element. Basically, the […]

Introduction of Python Function

Functions are some statement inside a block. Which complete one or more specific task given by our direction. The concept of functions is the same in every programming, just the syntax different. We can think of it as a machine. It gives us a result based on our input and what we tell to do, […]