Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = list(input())
- for i in ['a', 'e', 'i', 'o', 'u']:
- text = [x for x in text if x != i]
- print(''.join(text))
- ИЛИ:
- text = input()
- for i in ('a', 'e', 'i', 'o', 'u'):
- text = text.replace(i, '')
- print(text)
Add Comment
Please, Sign In to add comment