Js Push Function To Array Python Definition Range