Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for All Upper II by Sillte
def is_all_upper(text: str) -> bool:
text = [t for t in text if not (t.isdigit() or t == " ")]
return all(t.isupper() for t in text) if text else False
March 14, 2020