Boyenga
Python: truth value of python string
Python: truth value of python string
if <boolean> :
# do this
boolean has to be either True or False.
then why
if "poi":
print "yes"
output: yes
i didn't get why yes is printing , since "poi" is nether True or False.
Newer Post
Older Post
Home