Ad
  • Default User Avatar

    Becuase it test case present not bool values. Try this code sum([True, None]) and you will get TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'