-
Hi. When I was going through Lesson 3, I saw that the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hello @vicshi06 Yeah this is a difference, let's see. The
Quite easy right? And
I hope this info might help. |
Beta Was this translation helpful? Give feedback.
Hello @vicshi06 Yeah this is a difference, let's see.
The
=
is for assignation, you are saying that whatever is on the right side should be stored on the left side, example:variable a = 50
this meas variable a <- 50Quite easy right?
And
+=
means add to the current value, let's suppose we have another variable calledb
which has the value of 5, so if we say:b += 1
this means we are saying, add 1 to whatever is on variable b: 5 + 1.I hope this info might help.