When I first started learning Python, I assumed that + always meant “add.” But then I tried adding two lists and got something unexpected — not element-wise addition, but a longer list! In this post, I’ll break down: What + does when used on lists ...

Markdown supported · ⌘↵ to post
No responses yet.