Return to Snippet

Revision: 45942
at May 11, 2011 11:56 by silviud


Initial Code
>>> n
[1, 2, 5, 10, 3, 100, 9, 24]
>>> n1 = []
>>> for i in n:
...     if i < 5: continue
...     n1.append(i)
... 
>>> n1
[5, 10, 100, 9, 24]
>>> n = n1

Initial URL


Initial Description


Initial Title
Substract from list elements smaller then a  number

Initial Tags


Initial Language
Python