Advertisement
Guest User

grejer

a guest
Oct 26th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. def listFilt(lst, n):
  2.     newLst = []
  3.     if len(lst) == 0:
  4.         return 0
  5.     for x in lst:
  6.         if len(lst) > n:
  7.             newLst = newLst + x
  8.     return newLst
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement