Confused by different behavior of assignments of Arrays and Numbers

This is a common source of confusion for beginners (myself included). You can find related threads about it. One nice answer is this one:

4 Likes