Js Push Function To Array Python Definition