Introducing or : Boolean Operators : Operator PYTHON TUTORIALS


PYTHON TUTORIALS » Operator » Boolean Operators »

 

Introducing or


print 'a' or 'b'                                
print '' or 'b'                                      
print '' or [] or {}                                

def sidefx()
    print "in sidefx()" 
    return 
print 'a' or sidefx()



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Operator
» Boolean Operators