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