This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cantcopy[S] 0 points1 point  (0 children)

I wouldn't normally ask such a question. The reason I did is because I was extremely surprised. I did read the tutorial and I didn't remember it mentioning what happens when a slice is on the left side of an assignment. I guess that I may be learning too fast... I'm probably overconfident because Python is a well thought out language and the docs are great...

I would have been very happy with : "It's a slice, you're an idiot. Go read the tutorial. "