rivers = { 'nile':'egypt', 'lena':'russia', 'dnepr':'ukraine' }
for river, country in rivers.items():
print(f"The {river.title()} runs through {country.title()}")
print('\nRivers are:')
for river in rivers.keys():
print(river.title())
print('\nCounries are:')
for counry in rivers.values():
print(country.title())
for river, country in rivers.items():
print(f"The {river.title()} runs through {country.title()}")
print('\nRivers are:')
for river in rivers.keys():
print(river.title())
print('\nCounries are:')
for counry in rivers.values():
print(country.title())