Skip to content
loading...

re: Python tips 101 VIEW POST

FULL DISCUSSION
 

list[::3] # [1, 3, 5, 7, 9]

That should be list[::2] btw :)

 

@V Dedo, nice catch. I updated the code. Thanks.

code of conduct - report abuse