Comment on Python Performance: Why 'if not list' is 2x Faster Than Using len()

<- View Parent
JasonDJ@lemmy.zip ⁨6⁩ ⁨days⁩ ago

Ok, help a noob out. What is the difference between a sequence and an iterable? Is a sequence immutable, like a tuple?

source
Sort:hotnewtop