7 lines
192 B
Python
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!
|