Ikbhal
How to check string is empty or not in python?
a = ""
#or
a = None
if not a:
print "a is not empty"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment