Question: Question 1 . 3 . Implement the function get _ teleplay _ writers, which takes as input a string from the 'written _ by '

Question 1.3. Implement the function get_teleplay_writers, which takes as input a string from the 'written_by' column, corresponding to one episode, and returns a list of teleplay writers for that episode. Remember that if the writers' names aren't divided into story and teleplay, then all writers wrote both the story and the teleplay.
Hints:
Use the parse_names function you wrote earlier.
While there are six templates, you can solve this problem without using any conditional logic (if-statements). Your solution doesn't have to be the same as ours, but ours was just one line!

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!