1 is true in Python : True : Data Type PYTHON examples


PYTHON examples » Data Type » True »

 

1 is true in Python


1 is true in Python


if 1:
     print 'true'

if not 1:
     print 'true'
else:
     print 'false'


           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Data Type
» True