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