Dictionary Functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Dictionary Functions

You are working on data that represents the economic freedom rank by country. Each country name and rank are stored in a dictionary, with the key being the country name. Complete the program to take the country name as input and output its corresponding economic freedom rank. In case the provided country name is not present in the data, output "Not found".

18th Jul 2021, 2:00 AM
Võ Nhật Cường
Võ Nhật Cường - avatar
1 Answer
+ 1
Have you tried it?? Kindly show us your attempt.. So that we can tell you the mistakes that you have made.
18th Jul 2021, 2:03 AM
sarada lakshmi
sarada lakshmi - avatar