1 is true in Python : True « Data Type « Python






1 is true in Python

1 is true in Python

if 1:
     print 'true'

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


           
       








Related examples in the same category

1.What's True in Python