Did you know else can be used after while loop in python?
we can also use *else* : > with a *for* loop > with *try... except...*
Yes! You can use it insted of using a flag.
Yes. It will output anyway. When the while end
GERMAN Kashanskiy I don’t know what you mean with ’anyway’, but if you break the loop with ’break’ or ’return’, what inside ’else’ will not run.
Per Bratthammar In his code else will be executed anyway. And this will happen after executing while
GERMAN Kashanskiy I see. I understand what you mean now.
What's wrong? :(
Why won't my image display
I have made a calculator in which my % (Percentage) not work correctly for 100%50 or 100%20.
How the answer is 50?
Number of Ones ( C++ ) question!