T

Tanmay • 2.43K Points
Master

Q. Which of the following keywords is a placeholder for the body of a function?

  • (A) break
  • (B) continue
  • (C) body
  • (D) pass
  • Correct Answer - Option(D)
  • Views: 99
  • Filed under category Python

Explanation by: Tanmay
"pass" can be used as below:

def myfunc():
    pass

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics