0

When we have to use = and when == ?

8th Sep 2016, 6:10 AM
Rushil
2 Answers
+ 2
If we want to assign value to variable, we use '='. When we want to check if two statements have the same value, we use '==', which returns 'True' if values are equal and 'False' otherwise.
8th Sep 2016, 7:48 AM
Textobot
Textobot - avatar
0
well thanks for the answer
8th Sep 2016, 9:56 AM
Rushil