Course Content
Introduction to Python
Introduction to Python
Challenge
Task
You have two lists on hand: people
and new_people
, both of which contain names. Here's what you need to do:
- Merge the
people
list with thenew_people
list. Store the merged list in a variable calledpeople_upd
and display it. - Update the
people
list by adding the names fromnew_people
using a list method.
Thanks for your feedback!
Challenge
Task
You have two lists on hand: people
and new_people
, both of which contain names. Here's what you need to do:
- Merge the
people
list with thenew_people
list. Store the merged list in a variable calledpeople_upd
and display it. - Update the
people
list by adding the names fromnew_people
using a list method.
Thanks for your feedback!
Challenge
Task
You have two lists on hand: people
and new_people
, both of which contain names. Here's what you need to do:
- Merge the
people
list with thenew_people
list. Store the merged list in a variable calledpeople_upd
and display it. - Update the
people
list by adding the names fromnew_people
using a list method.
Thanks for your feedback!
Task
You have two lists on hand: people
and new_people
, both of which contain names. Here's what you need to do:
- Merge the
people
list with thenew_people
list. Store the merged list in a variable calledpeople_upd
and display it. - Update the
people
list by adding the names fromnew_people
using a list method.