i have a list like this one :
list1= [['Sarah', 55, 7, 'x'], ['John', 24, 8, 'x']]
and i want to copy it to another list but keeping it as a matrix like that :
list2= [['Sarah', 55.0, 7.0], ['John', 24.0, 8.0]]
so what i want to do is making every number a float and deleting the last element of every sub-list