Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

6.

Text Editor: Alternatively, a simple text editor like Notepad++ (Windows), Sublime Text or Atom
can be used for writing Python code if an IDE is not preferred.
7. Web Browser: For accessing online resources, tutorials, and documentation.

Code Design and Output

Create a dictionary 'MOBILE' with the Brand name as key and its Price
as values for at least 10 Mobile items. Write a Menu driven program
to perform the following operations on the MOBILE dictionary:

a. Display all the keys.


b. Display all the values.
c. Display all the items.
d. Find the Length of the dictionary.
e. Check if a Brand Name is present or not.
f. Add new Mobile Details.
g. Retrieve the value corresponding to the given Mobile Brand.
h. Delete the item from the dictionary corresponding to the given
Mobile Brand.
i. Increase the price of the given Mobile Brand

You might also like