Why does this fail L is [1,2,3,4], and this works: L = [1,2,3]?
But L is 1, and L = 1 both work the same.
Why does this fail L is [1,2,3,4], and this works: L = [1,2,3]?
But L is 1, and L = 1 both work the same.
Is should only be used when evaluating arithmetic operations on the right-hand side. I.E:
X is 1 + 2 + 3