Q.

What are the two main types of functions?

A. custom function
B. built-in function & user defined function
C. user function
D. system function
Answer» B. built-in function & user defined function
Explanation: built-in functions and user defined ones. the built-in functions are part of the python language. examples are: dir(), len() or abs(). the user defined functions are functions created with the def keyword.
1.3k
0
Do you find this helpful?
11

Discussion

No comments yet