for else
Closed this issue · 2 comments
madhaven commented
for some condition:
;lkasdj;flk
else:
;alksdflkj
and
for some condition:
;alksdjf
;alskdfj
works the same don't it
theriverman commented
They work differently. If you put a break statement into your first example, the `else` clause will not be executed.
BR,
/Kristof
… Il giorno 3 ago 2020, alle ore 13:07, Jitin J Gigi ***@***.***> ha scritto:
for some condition:
;lkasdj;flk
else:
;alksdflkj
and
for some condition:
;alksdjf
;alskdfj
works the same don't it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
yasoob commented
@theriverman is correct. @madhaven I am going to close this issue for now but if you have any more questions feel free to open it again :)