karolinagergert

Untitled

Jul 10th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2. a = 'today I write code'
  3. a = ''+ a
  4. x1 = a.find(' w')
  5. a1 = a[x1 + 1:]
  6. a2 = a1[:a1.find(' ')]
  7. print(a2)
Advertisement
Add Comment
Please, Sign In to add comment