Data Structure Quiz 03
Python Coding Quiz - Data Structures & Operations
Answer the coding questions below by selecting all applicable options:
Time Remaining: 03:20
1. Which of the following code snippets correctly appends 4
to a list my_list
? (Select all that apply)
2. Which of the following code snippets retrieves the keys from a dictionary my_dict
? (Select all that apply)
3. Which of the following code snippets removes duplicates from a list my_list
? (Select all that apply)
4. Which of the following code snippets creates a set with elements 1, 2, and 3? (Select all that apply)
5. Which of the following code snippets correctly checks if 5
is in the list my_list
? (Select all that apply)