RosettaCodeData/Task/Binary-strings/Python/binary-strings-4.py
Ingy döt Net 86c034bb8b new files
2013-04-10 12:38:42 -07:00

2 lines
95 B
Python

if x=='': print "Empty string"
if not x: print "Empty string, provided you know x is a string"