2022-11-13 10:39:28 -08:00

7 lines
192 B
Python

>>> if len(x) == 0 or len(y) == 0:
... print("At least one of the strings is empty!")
... else:
... print("Neither of the strings is empty.")
...
At least one of the strings is empty!