countries = {'USA': 'Washington','France': 'Paris','Japan': 'Tokyo'}
for country, capital in countries.items():print(f'The capital of {country} is {capital}')
countries = {
Вывод столиц для каждой страны'USA': 'Washington',
'France': 'Paris',
'Japan': 'Tokyo'
}
for country, capital in countries.items():
print(f'The capital of {country} is {capital}')