Dinesh Beniwal
What are functions in Python?
By Dinesh Beniwal in Python on Jun 20 2019
  • Md Sarfaraj
    Jul, 2019 24

    Function is a block of code . In python using definitely we can create a function. Example def show (): print ('Hello') show()

    • 0
  • Rohit Gupta
    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


    1. def [function_name]:
    2. [task_defination]

    • 0

Most Popular Job Functions