Q. Which keyword is used to declare a function that does nothing in Python?

  • (A) skip
  • (B) continue
  • (C) pass
  • (D) none
πŸ’¬ Discuss
βœ… Correct Answer: (C) pass
Explanation: The `pass` statement is a null statement that does nothing. It is often used as a placeholder.
Explanation by: Rati Dubey
The `pass` statement is a null statement that does nothing. It is often used as a placeholder.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
64
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
86%
Success Rate