Checking lower alphabet in string
hasLower = False NEW_LINE hasUpper = False NEW_LINE hasDigit = False NEW_LINE specialChar = False NEW_LINE normalChars = " abcdefghijklmnopqrstu " NEW_LINE for i in range ( n ) : NEW_LINE INDENT if input_string [ i ] . islower ( ) : NEW_LINE INDENT hasLower = True NEW_LINE DEDENT if input_string [ i ] . isupper ( ) : NEW_LINE INDENT hasUpper = True NEW_LINE DEDENT if input_string [ i ] . isdigit ( ) : NEW_LINE INDENT hasDigit = True NEW_LINE DEDENT if input_string [ i ] not in normalChars : NEW_LINE INDENT specialChar = True NEW_LINE DEDENT DEDENT