Fill in removeZeros so that it removes every zero from the list. The method returns nothing — it changes the given list.
removeZeros
The list contains two zeros in a row, so a forward loop would miss one. The program prints [4, 9].
[4, 9]