Booleans | SoloLearn: Learn to code for FREE!

+1

Booleans

Why is 7<= 8 True 7 is less than 8 but not equal to 8

5/12/2019 8:51:55 AM

Hubert Richardo

6 Answers

New Answer

+6

x <= y is true if x is less than or equal to y. If you think about it and x <= y meant that x has to be less than and at the same time equal to y, there would only be very few cases where x <= y were true

+3

X <= Y means if X is less or equal to Y!

+2

it's either of the option not both, in words it's like 7 is less than or equal to 8

+2

Thanks guys

+1

Answer the question: Is 7 < OR (but not AND) = 8? Yes. So 'True'

0

А по русски можно?