R

Rati Dubey • 8.55K Points
Tutor III

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

  • (A) skip
  • (B) continue
  • (C) pass
  • (D) none
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category Python

Explanation by: Rati Dubey
The `pass` statement is a null statement that does nothing. It is often used as a placeholder.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics