# Create a list of countries in Europe
europe = ['France', 'England', 'Germany', 'Spain']
# Print countries in Europe
print(europe)
# Access the items of a list with [index]
print(europe[0])
print(europe[1])
print(europe[2])
print(europe[3])
# Change the item value in a list by refering to its index
europe[0] = 'Italy'
print(europe)
# How many countries in Europe? (length of Europe)
print('There are', len(europe), 'countries in', europe)
# Check if France is in Europe
'France' in europe
# How to add another country to Europe
europe.append('France')
print(europe)
# Check again if France is in Europe
'France' in europe
# How to add more than one country to Europe at the same time
europe.extend(['Scotland', 'Northern Ireland'])
print(europe)
# How to sort a list in ascending order
europe.sort()
print(europe)
# How to sort a list in descending order?
europe.sort(reverse=True)
print(europe)
# How to remove spain from europe?
europe.remove( 'Spain')
print(europe)