I have the below list:
list = ['A', 'B', 'C', 'D', 'E', 'F']
I'm trying to create a function that would place any of the elements at the beginning of it, for instance if I choose 'E', the list would end up:
newList = ['E', 'A', 'B', 'C', 'D', 'F']
How can I achieve this?