Interviews - C# Corner

What are functions in Python?
By in onJun 20 2019
• Jul, 2019 10

functions are user-defined or system-defined, they are chuck of code that is defined to achieve a particular task.

Functions are also useful when we need to repeat a given task. Hence no need to write code again and again

Syntax:

def [function_name]: [task_defination]

• 0