Question: Create a list called my _ list with the following items: 2 , 4 , 6 , 8 , 1 0 . Print the third
Create a list called mylist with the following items:
Print the third item in mylist.
Add the number to the end of mylist using the append method.
Remove the first item in mylist using the remove method.
Create a new list called secondlist with the following items:
Concatenate secondlist onto the end of mylist.
Print a slice of mylist containing the second through fifth items.
Change the value of the sixth item in mylist to
Check if the value is in mylist.
Print the length of mylist.
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
