[Tex/LaTex] How to \flushleft and \flushright in the same line

horizontal alignment

I want to write:

Proof. Skipped. \flushright$\Box$ 

in the same line and this outputs two lines.

Best Answer

You are looking for \hfill:

\documentclass{article}
\usepackage{amssymb}

\begin{document}

Proof. Skiped. \hfill $\square$

\end{document}

enter image description here