#!/usr/bin/env python
# coding: utf-8
# In[ ]:
pip install countryinfo
# # Country info in Python
# In[1]:
from countryinfo import CountryInfo
#user input for Country Name
count=input("Enter your country : ")
country = CountryInfo(count)
print("Capital is : ",country.capital())
print("Currencies is :",country.currencies())
print("Lanuage is : ",country.languages())
print("Borders are : ",country.borders())
print("Others names : ",country.alt_spellings())
#clcoding.com
# In[ ]:
0 Comments:
Post a Comment