What are the two main types of functions in Python?

Questions & AnswersCategory: Programming LanguageWhat are the two main types of functions in Python?
1 Answers
Geek Boy Staff answered 3 years ago

c. 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.