Run
mystring = "" if not mystring: print("The string is empty.") else: print("The string is not empty.")
Output