You are on page 1of 1

Week 5 Questions (Data Structures, dictionary, list, sets)

1. Create two dictionary and merge two dictionaries into one.


2. Create a nested list of cars along with their manufacture, make date and price.
3. Create two tuples, reverse the tuple, display all before and after, find the index of an item
in a tuple.
4. Write a Python program to iterate over String items of dictionaries using for loops. Create
another dictionary containing integer to sum all the items in a dictionary.
5. Create two sets of fruit and find union, intersection and difference of sets.

Note: Lab report must be handwritten, you will receive weekly questions related to what
you have studied throughout the week.

You might also like