Defined function to round a number to the nearest tenth.
Defined function that returns a list with the second element removed.