
Correct Capital
You are given a word in which letters can be in different cases. Your task is to check whether the case was used correctly in the line. If everything is correct - return True, if there are errors - return False.
Examples of the correct use of cases:
Input: String (str).
Output: Logic value (bool).
Examples:
assert correct_capital("Checkio") == True assert correct_capital("CheCkio") == False assert correct_capital("CHECKIO") == True