Log in
← All problems

Move the zeros to the end

easyLists10 XP

Return a list with all the zeros of nums moved to the end, keeping the other numbers in their order.

Examples

Examples use JSON: true/false/null are True/False/None in Python.

Run examples checks the examples above. Submit also runs 3 hidden tests.