Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Move Zeros by ssk8
def move_zeros(items: list[int]) -> list[int]:
return [i for i in items if i] + items.count(0)*[0]
Sept. 10, 2022
Comments: