Guest User

Untitled

a guest
Jul 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. string = raw_input("type the string ")
  2. i = 0
  3. e = 0
  4. while i <= len(string):
  5. if string[i] == 'e':
  6. e = e + 1
  7. i = i + 1
  8. print e, "'e' in the string"
Add Comment
Please, Sign In to add comment