For Loop Iterate Through Array In Python Syntax If Else Statement