(*) So when $G$ is a topological group, then $[X,G]$ is a group (we can weaken $G$ to a $H$-group if we only consider pointed maps and $X$ is pointed)
Later we can compute singular cohomology for $X$ a CW-complex and $G$ abelian by $$H^n(X;G)\cong [X,K(G,n)]$$
One can go through and show that for $[\Bbb S^1,K(\Bbb Z,1)]\cong [\Bbb S^1,\Bbb S^1]\cong \Bbb Z\cong H^1(\Bbb S;\Bbb Z)$.
Is (*) helpful for computing cohomology in the way of the rest of my message, or otherwise how does one make use of (*)?
Later we can compute singular cohomology for $X$ a CW-complex and $G$ abelian by $$H^n(X;G)\cong [X,K(G,n)]$$
One can go through and show that for $[\Bbb S^1,K(\Bbb Z,1)]\cong [\Bbb S^1,\Bbb S^1]\cong \Bbb Z\cong H^1(\Bbb S;\Bbb Z)$.
Is (*) helpful for computing cohomology in the way of the rest of my message, or otherwise how does one make use of (*)?