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