Function is a block of code which performs a specific task. So, if we need to perform multiples tasks in a single piece of code then we need to create multiple functions to build a complete solution. To better understand the topic, we can easily consider with our real life like- eating, running, cycling where we do multi tasks at a time. (Eg: Let’s say if I’m running my both legs are moving as well as my hands and at the same time I’m taking breathe so multiple tasks are happening at a time).

To create a function or to…

Subhradeep Guha

Data Science Aspirant, Learning Python, SQL, Data Science, ML

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store