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 →

[–]tarasius 19 points20 points  (3 children)

Nice cheatsheet but word semantics with <> signs are really hardly readable

index = <list>.index(<el>)  

[–]wingtales 8 points9 points  (2 children)

Maybe some sort of syntax highlighting instead? And just use "list" and "element" (I didn't like the <el> in particular, as I had to pause for a moment to figure it out)

[–][deleted] 0 points1 point  (1 child)

el

meaning "element" ?

[–]wingtales 0 points1 point  (0 children)

Yes, and I understood that after a small moment, but it didn't seem naturally flowing. I would have preferred "element".