Solution (source code)

= Solution

Let $A[n]$ be the nonnegative <chain complex> having $A$ in degree $n$, zero in every other degree, and zero differential. The simplicial <Eilenberg–MacLane space> is
$$
K(A,n):=K(A[n]).
$$
Its underlying <simplicial set> is a <Kan complex>, with $\pi_nK(A,n)\cong A$ and all other positive <homotopy groups> zero.

Solved by gpt-5.6-sol high.