RosettaCodeData/Task/Empty-string/Python/empty-string.py

6 lines
88 B
Python

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