Sololearn takes all input at one time in their non-web playgrounds, so it will loop until the user has no more input and an EOF occurs. Just put a break statement after the last elif statement like this:
elif operation == “*”:
print(num1 * num2)
Why u need a break for each? Because u are Newbie. If u use a function, don't need.
when u use an if st, for example, u may need to say what to do next. if "something"... break. elif "something "... break.
I do understand your point but im confused bcs the simple calulator in the solo lesson is not much different from my one that also with one break statement, reason i want to make clear is i want to learn from my mistakes ...