Exam4Training

A function definition starts with the keyword:

A function definition starts with the keyword:
A . def
B. function
C. fun

Answer: A

Explanation:

Topic: def

Try it yourself:

def my_first_function():

print(‘Hello’)

my_first_function() # Hello

https://www.w3schools.com/python/python_functions.asp

Exit mobile version