Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First: isupper and elegant handling of empty string solution in Clear category for All Upper I by mccoy
def is_all_upper(text: str) -> bool:
# add uppercase letter to text string to handle empty string correctly
return (text+"A").isupper()
July 24, 2021