what does == mean ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

what does == mean ???

in new to this

25th Jul 2016, 11:08 PM
Victor alvarado
Victor alvarado - avatar
14 Answers
+ 5
"equal to", for example, this statement if x == 7: Means "If variable X is equal to seven"
25th Jul 2016, 11:51 PM
Samuele Roversi
+ 1
it can return true or false. if you print (3==5)you will see "false".because 3 isn't equal to 5.if you print (5==t) it will display true.if you know what "return" mean,you can understand it.the codes is replaced by a value.this value is true or false.
26th Jul 2016, 12:06 AM
X_Tu
X_Tu - avatar
+ 1
It's pretty much like a question. for example is 3==5? with that would give you false statement because 3 is not equal to 5.
26th Jul 2016, 3:38 AM
Paul Komarek
Paul Komarek - avatar
+ 1
What is mean by i== ???
25th Jan 2020, 7:02 AM
ASLAM PARVEJ
ASLAM PARVEJ - avatar
+ 1
It means (equal to) it is used for comparison .
31st Jul 2020, 4:28 PM
Hesham Adel
Hesham Adel - avatar
0
of course. it can be used as a contrast between two variables.
26th Jul 2016, 12:09 AM
X_Tu
X_Tu - avatar
0
A==B .its mean compare A with B.if equal return a boolean value true.else return false.
27th Jul 2016, 9:02 AM
蓝兰
蓝兰 - avatar
0
its equal to that (number). Here is the best example i can give you. i am learning myself. (5==5) yes this is True. (5==6) this is going to False. Hope that helped
27th Jul 2016, 9:37 AM
Calubos D.
Calubos D. - avatar
0
== sign mean that "comparatively equal to" so when u say 5 == 5 is 5 is comparatively equal to 5 and the same applies to strings for example "dad" == "dad" .. :)
9th Aug 2016, 2:18 PM
ADARSHA D
ADARSHA D - avatar
0
it means equal to
9th Aug 2016, 2:37 PM
Calubos D.
Calubos D. - avatar
0
so == (boolean) is used instead of = because it's in a comparison?
12th Aug 2016, 4:35 AM
Coleman Alexander
Coleman Alexander - avatar
0
"==" is used to compare to integers or strings. If the values on either side are the same(equal), than the program returns "True". If they're different(unequal), the program returns "False".
30th Aug 2016, 1:29 PM
Hunter
Hunter - avatar
0
"=" is an assignment operator "==" is a comparison operator (value) "===" is an absolute comparison operator (datatype and value)
1st Nov 2017, 3:17 AM
hckybklyn
hckybklyn - avatar
0
it means equal to
1st Nov 2017, 3:18 AM
Calubos D.
Calubos D. - avatar