# FAQ: Learn Go: Variables and Types - Updating Variables

This community-built FAQ covers the “Updating Variables” exercise from the lesson “Learn Go: Variables and Types”.

Paths and Courses
This exercise can be found in the following Codecademy content:

## FAQs on the exercise Updating Variables

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply () below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

## Join the Discussion. Help a fellow learner on their journey.

You can also find further discussion and get answers to your questions over in #get-help.

Agree with a comment or answer? Like () to up-vote the contribution!

Need broader help or resources? Head to #get-help and #community:tips-and-resources. If you are wanting feedback or inspiration for a project, check out #project.

Looking for motivation to keep learning? Join our wider discussions in #community

Found a bug? Report it online, or post in #community:Codecademy-Bug-Reporting

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

I believe this is a “typo” but I am too new to post this under bug.

" Notice that `basketTotal = spinachPrice + basketTotal` and `basketTotal += spinachPrice` do the same thing!"

It might be slightly semantically nitpick-y, but `basketTotal += spinachPrice` is actually `basketTotal = basketTotal + spinachPrice` and not `basketTotal = spinachPrice + basketTotal`.

The only reason why the above statement holds is because integer addition is commutative which it was talking about, but in the segment right after the course started talking about string concatenation, and not making this important distinction might cause new programmers to be confused on why `"cat" += "dog"` is not `"dogcat"` but is `"catdog"`.