'''class Solution: def detectCapitalUse(self, word: str) -> bool: count=0 for letter in word: if (letter.isupper()): count+=1 if (count==len(word) or count==0 or count==1 and word[0].isupper() ): return True else: return False'''