Created
March 20, 2020 14:08
-
-
Save ChaitanyaBaweja/b5974e118f2a063be9f55630cb48a8a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# keys (Country Names) are now all lowercase | |
population_dict = {'china':1439, 'india':1380, 'usa':331, 'france':65,'germany':83, 'spain':46} | |
Country_Name = input('Please enter Country Name: ').lower() # lowercase input | |
print(population_dict[Country_Name]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment