Computer Science, asked by bhaskar0616, 2 months ago

how is function declared in python?​

Answers

Answered by 9839592011neetu
0

Answer:

The three steps to defining a function in Python are the following:

Use the keyword def to declare the function and follow this up with the function name.

Add parameters to the function: they should be within the parentheses of the function. ...

Add statements that the functions should execute.

hope it helps you

Answered by rishi20284
11

✍️ ANSWER ✍️

The three steps to defining a function in Python are the following:

  • Use the keyword def to declare the function and follow this up with the function name.

  • Add parameters to the function: they should be within the parentheses of the function.

  • Add statements that the functions should execute.

Hope it helps uh

Similar questions