Question: Write a recursive function in python where you have to convert a sentence into list of words, for example; 'my name is john' should be

Write a recursive function in python where you have to convert a sentence into list of words, for example; 'my name is john' should be returned as a list [my, name, is, john]

You are not allowed to use any helper functions and no find(). Only one parameter is allowed in the function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!