def move_zeros(array):
result = []
zeros = []
for x in array:
if (type(x) is int or type(x) is float) and x == 0:
zeros.append(x)
continue
result.append(x)
result.extend(zeros)
return result
def move_zeros(array):
x = [x for x in array if (type(x) is int or type(x) is float) and x != 0]
y = [x for x in array if (type(x) is int or type(x) is float) and x == 0]
return x + y