0
Need an answer.
What is an output of this code? for i in [â+â,â-â]: print(i) break The output is given as: + Can any one reply how this happen?
3 Answers
+ 2
you print the first char '+', then you break the loop, that means program cotinues after the loop and it ends, because nothing is after the loop
+ 2
yes
+ 1
Ok if break statement is not present the next character â-â also prints right?