how to show decimal point only when it's not a whole number?,[(int(i) if int(i) == i else i) for i in li]