Advertisement
Guest User

Untitled

a guest
May 30th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. C:\Users\DarkJedi>python
  2. Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64 bit (AM
  3. D64)] on win32
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> s = "123 123 123\n123123\n1232\n123"
  6. >>> s
  7. '123 123 123\n123123\n1232\n123'
  8. >>> s.split()
  9. ['123', '123', '123', '123123', '1232', '123']
  10. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement