R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following is a recursive function?

  • (A) A function that calls itself
  • (B) A function that returns nothing
  • (C) A function that uses a loop
  • (D) A function defined inside another function
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
A recursive function is one that calls itself to solve a problem.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.