duplicate each member in a list - python

Posted by ariel on Stack Overflow See other posts from Stack Overflow or by ariel
Published on 2010-03-15T17:21:36Z Indexed on 2010/03/15 17:29 UTC
Read the original article Hit count: 148

Filed under:
|
|

Hi I want to write a function that revives a list [1,5,3,6,...] and gives [1,1,5,5,3,3,6,6,...] any idea how to do it? thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about list