Assume $f,g$ are two maps from space $F$ to $E$ homotopic, then will they induce the same homomorphism of homotopy groups?
Or much stronger, assume $f$ is an inclusion from $F$ to $E$, $F$ the fiber of a fiber bundle $E$, $g$ is a constant map, then why $f$ induces $0$ homomorphism of homotopy groups? It is exercise 31 of Hatcher's Algebraic Topology, in section 4.2.
I believe the most you can say is that they induce the same map on conjugacy classes for $\Pi_1(X)$ and more generally the action of $\Pi_1(X)$ on $\Pi_n(X)$.
Non-basepointed maps $[S^n , X]$ are in natural bijection with equivalence classes of elements of $\Pi_n (X)$ under the action of $\Pi_1(X)$ (Hatcher chapter 4). If $f,g:X \rightarrow Y$ are homotopic then $f,g$ induce the same map $[S^n, X]\rightarrow [S^n,Y]$. Interpreting this in the manner just mentioned you arrive at the result.