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

6 lines
91 B
Python
Raw Normal View History

2013-04-10 16:57:12 -07:00
s = ''
if not s:
print('String s is empty.')
if s:
print('String s is not empty.')