Advertisement
DiYane

No vowels

Sep 20th, 2023
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. text = input()
  2. vowels = 'aeiouAEIOU'
  3.  
  4. text_without_vowels = ''.join([char for char in text if char not in vowels])
  5.  
  6. print(text_without_vowels)
Tags: python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement