Ask coding questions

← Back to all posts
Hi
phnthkrbuykhng

Im kinda new to coding and now i am making a calculator so i wanted to know how to make loop for it to run over and over again

Voters
phnthkrbuykhng
Comments
hotnewtop
WWEMONSTERMONST

You can do it like this:

Hopefully! I was able to help.

phnthkrbuykhng

@WWEMONSTERMONST thank you for the help :D

MrVoo

@phnthkrbuykhng Asking people if they want to repeat is common, but annoying. Remove the input(), and turn the while statement into while True:

WWEMONSTERMONST

@phnthkrbuykhng No problem.