Challenge: Updating List
Uppgift
Swipe to start coding
You have two lists on hand: people and new_people, both of which contain names. Here's what you need to do:
- Merge the
peoplelist with thenew_peoplelist. Store the merged list in a variable calledpeople_updand display it. - Update the
peoplelist by adding the names fromnew_peopleusing a list method.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 3
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 1.64
Challenge: Updating List
Svep för att visa menyn
Uppgift
Swipe to start coding
You have two lists on hand: people and new_people, both of which contain names. Here's what you need to do:
- Merge the
peoplelist with thenew_peoplelist. Store the merged list in a variable calledpeople_updand display it. - Update the
peoplelist by adding the names fromnew_peopleusing a list method.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 3
single