karolinagergert

Untitled

Jul 5th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. a = 'today I write code'
  2. x[0] = a.find (" ")
  3. x[1] = a.find ("W")
  4. x[-1]= a.rfind (" ")
  5. print(x)
Advertisement
Add Comment
Please, Sign In to add comment