def duplicate_elements(lst):
for x in lst:
yield x
yield x
Saturday, November 1, 2008
99 problems - python - 14
Duplicate the elements of a list.
Labels:
99 problems,
python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment