This repo contains python code that reverses a list of names
Run the code.
Python
names = ['Paul', 'Jane', 'Sandra', 'Gemma', 'Hannah', 'Anne']
print(names)
names.reverse()
print(names)
Output
['Paul', 'Jane', 'Sandra', 'Gemma', 'Hannah', 'Anne']
['Anne', 'Hannah', 'Gemma', 'Sandra', 'Jane', 'Paul']