Computer Science
What are the two cases required in a recursive function?
Python Functions
1 Like
Answer
The base case and recursive case are the two cases required in a recursive function.
Answered By
1 Like
Related Questions
Write a Python program that accepts a hyphen-separated sequence of words as input and prints the words in a hyphen-separated sequence after sorting them alphabetically.
Sample Items: green-red-yellow-black-white
Expected Result: black-green-red-white-yellowWhat is a recursive function? Write one advantage of recursive function.
What is base case?
What is recursive case?