Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 'flameeeeeeeeeeeeeeee'
- while x[-1] == 'e':
- x = x[:-1]
- print x
- x = 'flameeeeeeeeeeeeeeee'
- while x[-1] in ('e','m'):
- x = x[:-1]
- print x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement