A

Admin • 833K Points
Coach

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

  • (A) 2sum
  • (B) sum-nums
  • (C) sum_nums
  • (D) sum nums
  • Correct Answer - Option(C)
  • Views: 21
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Function names must begin with a letter or underscore and contain only alphanumerics or underscores.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.