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

6 lines
91 B
Python

s = ''
if not s:
print('String s is empty.')
if s:
print('String s is not empty.')