If at any iteration isPrime is false , break from the loop
if ( not isPrime ) : NEW_LINE INDENT break NEW_LINE DEDENT if ( isPrime ) : NEW_LINE print ( " Prime ▁ Number " ) NEW_LINE else : NEW_LINE print ( " Not ▁ a ▁ Prime ▁ Number " ) NEW_LINE