(45 or False)
Above statement returns 45 as the out put in python, rather than returning True or False or (0 or 1).
But in php It returns 1 as the output. what is the rationality behind this?
(45 or False)
Above statement returns 45 as the out put in python, rather than returning True or False or (0 or 1).
But in php It returns 1 as the output. what is the rationality behind this?