First: use a built-in solution in Clear category for All Upper II by leggewie
def is_all_upper(text: str) -> bool: return text.isupper()
June 9, 2021