Python Functions

Functions are one of the most powerful feature in Python. They helps to organize code, avoid repetition and make program easier to…