Question: Exercise 4 IN PYTHON Ask user to enter a string, e . g . , Computer Science is an amazing field of study. Pass string
Exercise
IN PYTHON
Ask user to enter a string, eg Computer Science is an amazing field of study. Pass string to
function str words and convert the string into words. Place individual words, eg 'Computer',
'Science', etc. into a list and return list to main program your list should contain elements if
the above sentence is entered In addition, the individual words should not contain any white
spaces appended to the end of the word such as 'Science'.
Note: Do not use any builtin functions to convert a string to words.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
