# Definition of countries and capital
countries = ['spain', 'france', 'germany', 'norway']
capitals = ['madrid', 'paris', 'berlin', 'oslo']

# Get index of 'germany': ind_ger
ind_ger = countries.index("germany")

# # Use ind_ger to print out capital of Germany
# print(capitals[ind_ger])

# From string in countries and capitals, create dictionary europe
europe = {'spain':'madrid', 'france':'paris', 'germany':'berlin', 'norway':'oslo'}

# # Print europe
# print(europe)
#
# # Print out the keys in europe
# print(europe.keys())
#
# # Print out value that belongs to key 'norway'
# print(europe['norway'])


# Add italy to europe
europe['italy'] = 'rome'

# # Print out italy in europe
# print('italy' in europe)

# Add poland to europe
europe['poland'] = 'warsaw'

# # Print europe
# print(europe)
