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

Latest PCEP-30-02 Practice Questions with 124 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments