This is LaTeX code:

[latex]
\mathcal{P}(A)=\mathcal{P}(\{1,2\})=\{\emptyset, \{1\},\{2\},\{1,2\}\}
[/latex]