Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. """Enter String as Full form"""
  2. arr = [(arr_temp) for arr_temp in input().strip().split(' ')]
  3. """Remove Noise"""
  4. """Enter Noise words as needed"""
  5. noise = ['of','and']
  6. for x in noise:
  7. if x in arr:
  8. arr.remove(x)
  9. abbrev = []
  10. for y in arr:
  11. abbrev.append(y[0])
  12. print(''.join(abbrev))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement