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…
Data Science Aspirant, Learning Python, SQL, Data Science, ML