Question: 1 - Create and print a list containing the first names of your parents and grandparents. 2 - Using slicing, print this list without the
Create and print a list containing the first names of your parents and grandparents.
Using slicing, print this list without the first and the last time.
Using slicing, print every other name ie first, third, fifth, from this list.
Create a variable name with the content "Martin". Create a code using ifelse statements that print In list" or "Not in list" depending on whether the content of the variable name is in the list you created in
Using list methods to print your list of names sorted alphabetically.
Write a code that allows you to add or remove a name from your list. Examples of interactions with the program would for example look like this:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
