Advertisement
stefano_p

elim_K____2

Sep 25th, 2015
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. def elim_k(L,K):
  2.   A=[]
  3.   for i in range(len(L)):
  4.     if not i%K==0:
  5.      
  6.       A.append(L[i])
  7.   return A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement