|
|
|
|
|
by KMnO4
1800 days ago
|
|
I can confirm. I went to a gifted school and Lego Mindstorms was on the curriculum. Then in (conventional) high school I hosted a workshop on beginning Python (with Turtle) and half the people couldn’t understand why x=2 after “x=1” and “x+=1”. |
|
x+=1 just complicates the situation; use x=x+1 to avoid adding more special rules for now.
This stuff is teachable, but it doesn't help that the framework is very different than the similar-looking expressions from math class, where "x=1" followed by "x=2" is not allowed.