string = 'ESO 12-4 356.0648792 -80.1770250'
I want it to be broken down into a list like this:
list = ['ESO 12-4', '356.0648792', '-80.1770250']
However, the first part ('ESO 12-4') can have multiple strings, so I thought to cut it off from the end.
My Code:
print(string.split(' ')[-2:])
Output:
['356.0648792', '-80.1770250']