Python operators

Can someone explain to me why we need to put an = sign in front of the + sign when doing calculations with variables. I’m stumped.

Do you have a code example where this is used?

It’s an “add and” assignment operator. You’re adding the right side and the left side and then assigning it to the left (operand).

x+=y
x = x+y

Never mind i figured it out. Who else thinks Python is kinda hard?

Python operators simplify logic and math; 5 < x < 10 is a neat example.

Man I can wait till I get to logic lessons, I’m having a hard time just getting through the syntax of Python 2. (Sigh)

FWIW, syntax is an essential foundational component of the language. And, I wouldn’t speed though the lessons until you have a solid understanding of the current lesson(s).