RosettaCodeData/Task/Empty-string/Python/empty-string.py
2020-02-17 23:21:07 -08:00

5 lines
88 B
Python

s = ''
if len(s) == 0:
print("String is empty")
else:
print("String not empty")