Skip to content

Instantly share code, notes, and snippets.

@ChaitanyaBaweja
Created March 20, 2020 14:08
Show Gist options
  • Save ChaitanyaBaweja/b5974e118f2a063be9f55630cb48a8a3 to your computer and use it in GitHub Desktop.
Save ChaitanyaBaweja/b5974e118f2a063be9f55630cb48a8a3 to your computer and use it in GitHub Desktop.
# 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