Vidyalelo
Python · Q4

Functions in Python

Programming · Python · question 4

Q4

What is the purpose of the def keyword in Python?

A.
It is used to define a function
Answer
B.
It is used to declare a variable
C.
It is used to import a module
D.
It is used to create a loop

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board