Challenge: Updating List
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 3
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Vat dit hoofdstuk samen
Explain code
Explain why doesn't solve task
Geweldig!
Completion tarief verbeterd naar 1.64
Challenge: Updating List
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 3
single