Subscribe Us

Header Ads

How to Get Country info using Python , python projects

Hey guys in This Blog i am gonna tell you How you Can get Any Country using Python...




Source Code :...

#required module-pip install countryinfo
from countryinfo import CountryInfo

#intializing country info
country = CountryInfo('india')

#Getting info
info = country.info()

#printing the Data with Clear view
for b,c in info:
    print(f'{b} == {c} ')

Post a Comment

0 Comments