Professional Documents
Culture Documents
PROJECT REPORT ON
“WORLD ATLAS ”
SUBMITTED BY:
2
TABLE OF CONTENTS [ T O C ]
01 ACKNOWLEDGEMENT 04
02 INTRODUCTION 05
04 SOURCE CODE 06
05 OUTPUT 09
3
ACKNOWLEDGEMENT
Apart from the efforts of me, the success of any project depends largely on
the encouragement and guidelines of many others. I take this opportunity to express
of this project.
I express deep sense of gratitude to almighty God for giving me strength for
the successful completion of the project.
The guidance and support received from all the members who contributed and
who are contributing to this project, was vital for the success of the project. I am
grateful for their constant support and help.
4
PROJECT ON WORLD ATLAS
INTRODUCTION
country by simply inputting its name on the program .This is a Python script of the
WORLD ATLAS. The user can also add any country’s details. The program has
The objective of this project is to let the students apply the programming
knowledge into a real- world situation/problem and exposed the students how
5
SOURCE CODE
import json
choice=1
WORLD'S STATISTICS:
-CONTINENTS : 07 {ASIA ,AFRICA ,EUROPE ,SOUTH AMERICA ,NORTH AMERICA ,AUSTRALIA AND
ANTARCTICA}
-COUNTRIES (INDEPENDENT SOVEREIGN) : 195 (OUT OF WHICH 13 COUNTRIES FROM ASIA COVERED)
WELCOME !!!
''')
CAPITA)":""},
CAPITA)":""},
CAPITA)":""},
6
"AFGHANISTAN":{"COUNTRY":"AFGHANISTAN","CAPITAL":"KABUL","POPULATION (AS ON
UNIT":"AFA","GDP(PER CAPITA)":""},
CAPITA)":"$3500"},
CAPITA)":"$5700"},
"BANGLADESH":{"COUNTRY":"BANGLADESH","CAPITAL":"DHAKA","POPULATION (AS ON
UNIT":"TAKA","GDP(PER CAPITA)":"$1230"},
CAPITA)":"$2600"},
CAPITA)":"$1158"},
CAPITA)":"$32500"},
CAPITA)":"$11000"},
UNIT":"LKR","GDP(PER CAPITA)":"$3626"}}
while choice!=0:
print('''
CHOOSE :
7
choice=int(input("ENTER CHOICE [1/2/3] :"))
if choice==1:
m=n.upper()
print(json.dumps(countries[m],indent=3,sort_keys=True))
elif choice==2:
E=input("LANGAUGE :")
G=input("GDP :")
h=A.upper()
i=B.upper()
j=C.upper()
k=E.upper()
l=F.upper()
o=G.upper()
COUNTRY={h:{"COUNTRY":h,"CAPITAL":i,"POPULATION(AS ON
countries.update(COUNTRY)
print(json.dumps(COUNTRY,indent=3,sort_keys=True))
elif choice==3:
if res_=="Y":
else:
if choice==3:
break
8
OUTPUT
9
10