what does == mean edit thanks guys | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what does == mean edit thanks guys

14th Oct 2016, 9:39 PM
Paul 123
Paul 123 - avatar
5 Answers
+ 5
== is the operator to test for equality. For example, (3*2==6) is True, while (6*9==42) is False. Don't mix it up with =, which is the assignment operator. To test for inequality, use != or <>. Other comparison operators: > (greater than), < (lower than), >= (greater or equal), <= (lower or equal).
14th Oct 2016, 9:55 PM
Zen
Zen - avatar
+ 2
EQUALLY OPERATOR: The equality operator (==) is used to compare two values or expressions. It is used to compare numbers, strings, Boolean values, variables, objects, arrays, or functions. The result is TRUE if the expressions are equal and FALSE otherwise. ASSIGNMENT OPERATOR: The assignment operator (=) is used to assign a value to a variable, element of an array, or property of an object ..
1st Jun 2017, 4:15 PM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
+ 1
'==' is an operator that checks whether what is in it's left hand side equals to what is in it's right hand side. e.g A == B which can read as is A equal to B?
15th Oct 2016, 6:22 AM
semainda semainda
0
Boolean equal
14th Oct 2016, 10:02 PM
Adjed boumediene
Adjed boumediene - avatar
0
equal to
15th Oct 2016, 7:41 AM
Eric Mutinda
Eric Mutinda - avatar