Q. In python, what keyword is used to start a function?

  • (A) function
  • (B) fun
  • (C) def
  • (D) import
πŸ’¬ Discuss
βœ… Correct Answer: (C) def
Explanation: Functions in python are defined using “def” keyword, followed by the name of the function.
Explanation by: Rajeev Malhotra
Functions in python are defined using “def” keyword, followed by the name of the function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
198
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rajeev Malhotra
Publisher
πŸ“ˆ
95%
Success Rate