SHARE
TWEET

Untitled

a guest Jul 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x=[0,2,4,6,8,10]
  2. for i in enumerate(x):
  3. x.pop(0)
  4. print(x)
  5.      
  6. [2,4,6,8,10]
  7. [4,6,8,10]
  8. [6,8,10]
  9. [8,10]
  10. [10]
  11. []
  12.      
  13. [2,4,6,8,10]
  14. [4,6,8,10]
  15. [6,8,10]
  16.      
  17. [8,10]
  18. [10]
  19.      
  20. []
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
 
Top