πŸ“Š Python
Q. How do you define a function in Python?
  • (A) function myFunc():
  • (B) def myFunc():
  • (C) func myFunc():
  • (D) define myFunc():
πŸ’¬ Discuss
βœ… Correct Answer: (B) def myFunc():

Explanation: Functions are defined with the `def` keyword.

Explanation by: Mr. Dubey
Functions are defined with the `def` keyword.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
45
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate