R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following is NOT a valid function name?

  • (A) def my_func():
  • (B) def _private():
  • (C) def 2fast():
  • (D) def __init__():
  • Correct Answer - Option(C)
  • Views: 13
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
Function names cannot start with a digit. `2fast` is invalid.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.