Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. text = "let the blue sky meet the blue sea"
  2. t = text.split()
  3.  
  4. print(t[2:4])
  5.  
  6. >> ['blue', 'sky']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement