Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
IsUpper solution in Clear category for All Upper II by Striga
def is_all_upper(text: str) -> bool:
return text.isupper()
if __name__ == '__main__':
assert is_all_upper('ALL UPPER') == True
assert is_all_upper('all lower') == False
assert is_all_upper('mixed UPPER and lower') == False
assert is_all_upper('') == False
Oct. 31, 2020