RosettaCodeData/Task/Empty-string/Python/empty-string.py
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

5 lines
91 B
Python

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