SHARE
TWEET

Untitled

a guest Jul 18th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def modify_list(lst):
  2.    
  3.     c=len(lst)
  4.     for i in range(len(l)+1):
  5.         if lst[i]%2==0:
  6.             lst[i]=lst[i]/2
  7.         else:
  8.          del lst[i]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top