Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wovels = ['a', 'e', 'i', 'o', 'u']
- word = 'somebody'
- def noWovels(str):
- noWovels = []
- for x in str:
- if x not in wovels:
- noWovels.append(x)
- print(noWovels)
- noWovels(word)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement