I assume amsthm.
\documentclass[twocolumn]{article}
\usepackage{amsthm}
\begin{document}
\begin{proof}
This ends with a square.
\end{proof}
\begin{proof}\renewcommand{\qedsymbol}{\ensuremath{\triangle}}
This ends with a triangle.
\end{proof}
\end{document}
I use twocolumn just to make a smaller picture.

You may want to define a new environment for this.
\documentclass[twocolumn]{article}
\usepackage{amsthm}
\newenvironment{varproof}
{\renewcommand{\qedsymbol}{\ensuremath{\triangle}}\proof}
{\endproof}
\begin{document}
\begin{proof}
This ends with a square.
\end{proof}
\begin{varproof}
This ends with a triangle.
\end{varproof}
\end{document}
QEDor, better,όέδ? – Bernard Sep 08 '22 at 21:07