Question: Hello, I need help because they say my answer is incorrect. Please number it so l know which line to put the answer on, and

Hello, I need help because they say my answer is incorrect. Please number it so l know which line to put the answer on, and please write it down the whole thing because, so I would know what to keep and don't keep please. Thank you

Hello, I need help because they say my answer is
q4. py 92.py Guide ##function 'return_list' goes here Collapse def main(): #DO NOT MODIFY THIS FUNCTION Question 2 the_string = input ("Enter the string: \ ") result = return_list(the_string) print (result) Write a function called return_list that takes a string main() as a parameter and returns a list of words in the string. "Words" are entities that are separated by either commas (",') or spaces (' '). In case the string contains neither commas nor spaces, the string will be returned without any manipulation. Note: We are not testing for the case where both commas and spaces are present in the string so feel free to ignore that. Example interaction 1: Enter the string: this is a string ['this'. 'is'. 'a', 'string"] Example interaction 2: Enter the string: Pranshu, Zaabar, Alireza ['Pranshu', 'Zaabar', 'Alireza ] TRY IT 1808 (2:1) Terminal Test 1 (3 Pts) Check It! Next

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 Programming Questions!