How do I make this repeat itself?

So, I’m trying to make a simple calculator (I’m new, and I got help from
another forum), but I can’t seem to find anything about how I’m supposed
to make the program repeat if you say yes at the end.

Wrap the whole thing in a while loop (in this case, the while condition
is at the end, similar to do…while in other languages):

Hopefully that helps,
Ryan V.

Ryan V. wrote in post #1092842:

Wrap the whole thing in a while loop (in this case, the while condition
is at the end, similar to do…while in other languages):
Calculator App Example · GitHub

Hopefully that helps,
Ryan V.

Thanks.