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
πŸ’¬ Discuss
βœ… Correct 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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
632
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate