Due to inconsistent type annotations, even though zs is a also a List[Any] (similar to xs and ys), Pylance is considering zs as an integer type variable.