SHARE
TWEET

Habrahabr Python Guide Paste #3

filimonic Jun 16th, 2013 164 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Python 3.3.2
  2.  
  3. >>> x = range(2,12,3)
  4. >>> x
  5. range(2, 12, 3)
  6. >>> print (x)
  7. range(2, 12, 3)
  8. >>> x[1]
  9. 5
  10. >>> x[2]
  11. 8
  12. >>> len(x)
  13. 4
  14. >>> min(x)
  15. 2
  16. >>> max(x)
  17. 11
  18. >>>
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