Create a list containing
these 5 players from team A.
- Eve Smith
- Sam Smith
- Renu Sen
- Lao Xun
- Linh Tran
Assign this value to a variable
named playerList
and its value
should be an appropriate datatype
of your choice.
Remove last name from
the above list and replace it
with Chinua Achebe
and
log the resulting list
to the console.
We are not displaying the answer for this exercise.
We do this because we want you to challenge yourself
and
not give in to the temptation of looking at the solution.
We also don't want to leave you stuck, so if you feel
you have tried enough and are still unable to solve
this exercise, feel free to ask in our community.
Here is the link to join the community.