<=. This sign is confusing me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

<=. This sign is confusing me

1st Sep 2020, 6:41 PM
Henok
Henok - avatar
3 Answers
+ 5
Less than or equal to. Example If 10<=10 # True If 11<=10 # false
1st Sep 2020, 6:45 PM
Ajith
Ajith - avatar
+ 1
The 'less than or equal' operator do two things First it test the equality, Second, it test if the first is less than the second. It return true if either of them is true, so if the first is true and thé second false, return true. If the second true ans the first false, return true. Only If both are false, return false
1st Sep 2020, 6:51 PM
Nathan Sikati
Nathan Sikati - avatar
+ 1
Opposite of >
2nd Sep 2020, 2:35 AM
Sonic
Sonic - avatar