Question: I have this list [ 9 , 'Narrator' , 0 , 'Herself - Narrator (voice)' , 2 , '' , 4 , 'Herself' , 11
I have this list [9, 'Narrator', 0, 'Herself - Narrator (voice)', 2, '', 4, 'Herself', 11, 'Michael Vronsky', 2, '', 4, 'Josephine "Jo" March', 0, 'Himself', 1, 'Himself - Performer', 0, 'Narrator, Host', 13, 'Himself', 2,
and need to pass each pair as parameter to a function using a loop. Function head is as below: def add_node(self, id: str, name: str) so 9 should go to the id and 'Narrator' as name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
