Create a method to see whether the string is ALL CAPS.
My code:
def is_uppercase(inp):
uppercase = inp.upper()
if inp == uppercase:
return True
else:
return False
def is_uppercase(inp):
return inp.upper()==inp