Given the following strings as input to a Pythonic method:
The Adventures of Sherlock Holmes
The Art of War
A Tale of Two Cities
A Princess of Mars
I would like to see the following as the output:
Adventures of Sherlock Holmes, The
Art of War, The
Tale of Two Cities, A
Princess of Mars, A
Any ideas please?