What are the two main types of functions?

Nguyên Lê

New member
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
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.
 

Tìm kiếm

Back
Top