== means "is equal to", not to be confused with "equals"
for example
if x = = y
is read "if x is equal to y",
so it checks to see if x is equal to y.
on the other hand
x=y
is read "x equal y" or "set x equal to y"
it defines x to be equal to y.
== means "is equal to", not to be confused with "equals"
for example
if x = = y
is read "if x is equal to y",
so it checks to see if x is equal to y.
on the other hand
x=y
is read "x equal y" or "set x equal to y"
it defines x to be equal to y.
== means "is equal to", not to be confused with "equals"
for example
if x = = y
is read "if x is equal to y",
so it checks to see if x is equal to y.
on the other hand
x=y
is read "x equal y" or "set x equal to y"
it defines x to be equal to y.