If Condition Inside While Loop In Python Syntax If Else Statement