Hi, My friends,
I am new to python. I try to figure out how python knows the end of loop or the end of a block of codes in while... else code
Here is the example:
while E:
Bt
else:
Bf
here if Bf have 20 lines of code. How the python knows which line of code is the end of else:
It looks like I miss something, which is quite different from all other languages.
Thanks in advance.
John