iamhardikat11 / CP

Consider using identity comparison with singleton PTC-W0068
Bug risk
Major
2 years ago2 years old
Comparison to singleton True should be expr is True
1def bool_to_word(boolean):
2    if(boolean == True):3        return "Yes"
4    else:
5        return "No"