Computer Science, asked by WoodenCraft22, 4 months ago

name the keywords marks the beginning of the function block?​

Answers

Answered by Anonymous
10

Answer:

Function blocks begin with the keyword def followed by the function name and parentheses ( ( ) ). Any input parameters or arguments should be placed within these parentheses. You can also define parameters inside these parentheses.

Answered by utsrashmi014
0

Explanation

To offer the necessary functionality, functions can be defined. Here are some basic Python definition rules.

The term "def" is used to start a function block, which is then followed by the function name and parentheses (()).These parenthesis should include any arguments or input parameters. Within these parenthesis, you may also define arguments.The documentation string for the function, often known as the docstring, can be the initial statement of a function and is optional.Each function's code block begins with a colon (:) and is indented.

Return [expression] leaves a function and can optionally return an expression to the caller. The equivalent of return None is a return statement with no parameters.  

#SPJ3

Similar questions