# 6-5
River = {'nile':'egypt','amazon river':'brazil','mississippi':'america'}
for r,n in River.items():
print('The '+r.title()+' runs through '+n.title()+'.')
print()
for R in River.keys():
print(R.title())
print()
for N in sorted(River.values()):
print(N.title())
#end
# 6-11
Guangzhou={'country':'China','population':14500000,'fact':'020' }
Hangzhou={'country':'China','population':9470000,'fact':'0571' }
San_Francisco={'country':'America','population':7650000,'fact':'415'}
cities={'Guangzhou':Guangzhou,'Hangzhou':Hangzhou,'San Francisco':San_Francisco}
for city, info in cities.items():
print(city)
for v in info.values():
print(v)
print()
#end