question archive Scenario: You have some data where customer names are listed in one field, "Smith, John"

Scenario: You have some data where customer names are listed in one field, "Smith, John"

Subject:Computer SciencePrice: Bought3

Scenario: You have some data where customer names are listed in one field, "Smith, John". You are tasked to create a python function named 'parse_name' that will accept a string input and return a list with the first_name and last_name seperated. Create the function in the cell below. (10 points)

# write the code for your parse_name function here:
?

 

parse_name('Smith, John')
# Do not change anything in this cell.
# Running this cell should return the exact output:
# ['John', 'Smith']

 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE