+ 1
In the simple calculator.here
while true print ("options") print ("enter add to add two numbers") here what has to be true or what needs to be true in order to print
1 Odpowiedź
+ 3
"while True:"
the True here is the condition expression of the loop. True expression is always true, so the condition of the loop will be always true, so it will run the code inside the loop again and again until we will not exit from inside.