Question: Lists [ ] Create an empty list and print the list Create a singleton list and print the list Create a list of 5 items

Lists []
Create an empty list and print the list
Create a singleton list and print the list
Create a list of 5 items of mixed types and print the list
Print the 3rd item in the list
Print the item at index -3
Change the 3rd item in the list to bye and print the whole list
Change the -4th item in the list to hello and print the whole list
Print the length of the list
Find the min and max of the list
Delete the -5th item in the list
Add list [heaven,-986] to the beginning of your list
Append list [abc,1,ABC] to the end of your list
Add hello to the end of your list. What happened?
Append world to the end of your list. What happened?
Print your list, perform pop() on your list, and print the list again
Perform pop(4) on your list and print the list
Perform pop(-2) on your list and print the list
Print the length of your list as a float
Print the type and ord of your list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!