Question: Write and execute a PYTHON program to perform the following tasks. Create separate files for each of the tasks in Anaconda given below. 1.
Write and execute a PYTHON program to perform the following tasks. Create separate files for each of the tasks in Anaconda given below. 1. Consider the courses you are taking this term. Input the course code, and course title and add them to the dictionary as key and values respectively. Display all the dictionary elements. 2. Write a decorator function to convert into upper case of string values 3. Write a Python program to create a dictionary with 10 items and display the last 3 items.
Step by Step Solution
There are 3 Steps involved in it
To write a Python program to create a dictionary with 10 items and display the last 3 items you can use the following code Python def displaylast3itemsmydict Displays the last 3 items of a dictionary ... View full answer
Get step-by-step solutions from verified subject matter experts
