Assignment_ Exploring Python Data Structures
Assignment_ Exploring Python Data Structures
Objective:
Understand how to work with lists, tuples, and dictionaries in Python. Complete the tasks below
and submit your work before the next class.
Part 1: Lists
1. Create a list named fruits with the following items: "apple", "banana", "cherry", "date".
Expected Code:
Part 2: Tuples
1. Create a tuple named dimensions with the following values: 10, 20, 30.
Expected Code:
Part 3: Dictionaries
Expected Code:
1. Create a nested dictionary named class_grades where each key is a student's name and the
value is another dictionary that contains their grades for different subjects:
Submission Guidelines: