1 2 3 4 5 6 7 8
x = "" y = "hello" if x == "": # [compare-to-empty-string] print("x is an empty string") if y != "": # [compare-to-empty-string] print("y is not an empty string")