class Solution: def detectCapitalUse(self, word: str) -> bool: try: if word.islower() or word.isupper() or word.istitle(): return True else: return False except Exception as e: print(e)
class Solution: def detectCapitalUse(self, word: str) -> bool: try: if word.islower() or word.isupper() or word.istitle(): return True else: return False except Exception as e: print(e)
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.