in reply to Format statement and 'if' loop

What is the mistake here?

You keep doing the same thing and expecting a different output.