Just wanted to confirm if my proof is correct and complete, trying to learn Van-Kampen Theorem.
Question: Find the fundamental group of two copies of $S^2$ attached at a point .
Proof: We claim that $\pi_1(X)$ is trivial.
Let the two copies of $S^2$ be U and V. Then $X=U \cup V$.
$U \cap V = {p}$, where $p$ is the point of attachment, and hence it is path connected. We know that $\pi_1(U)$ and $\pi_1(V)$ are trivial.
So by Van-Kampen, the fundamental group of $X$ is generated by fundamental groups of $U$ and $V$, but since they are both trivial, $\pi_1(X)$ is also trivial.