fn='a'
x=1
while fn:
print(x)
x+=1
if x==100:
fn=''
Output: 1 ... 99
fn=''
x=1
while fn:
print(x)
x+=1
if x==100:
fn='a'
Output: while loop does not run.
What is the reason for the while loop not running?
Is it that the condition that ends a while loop is 'False' and therefore it's not capable of performing 'while false' iterations?