0
(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?

John Bollinger
  • 160,171
  • 8
  • 81
  • 157
dulaj sanjaya
  • 1,290
  • 13
  • 25

0 Answers0