RosettaCodeData/Task/Binary-strings/Python/binary-strings-4.py

3 lines
95 B
Python
Raw Normal View History

2023-07-01 11:58:00 -04:00
if x=='': print "Empty string"
if not x: print "Empty string, provided you know x is a string"