Source Code:
(back to article)
string = "" if len(string) == 0: print("The string is empty.") else: print("The string is not empty.")
Result:
Report an issue