The letter variable takes one character from the input and compares using the if-else statement. If the character matches the vowels the letter is not printed.
That means the program is only printing the non-vowel characters.
More Related Contents:
- How do I initialize a dictionary of empty lists in Python?
- How to redirect ‘print’ output to a file?
- How to extract text from a PDF file?
- What is the difference between an expression and a statement in Python?
- How to open a file for both reading and writing?
- How do I trim whitespace from a string?
- How do I find the location of Python module sources?
- What is the difference between list and list[:] in python?
- Matplotlib DateFormatter for axis label not working
- NameError: global name ‘xrange’ is not defined in Python 3
- Flask hangs when sending a post request to itself
- Python reading from a file and saving to utf-8
- Paramiko and Pseudo-tty Allocation
- How can unrar a file with python
- How to get all the hyponyms of a word/synset in python nltk and wordnet?
- How can I display an image from a file in Jupyter Notebook?
- How to annotate types of multiple return values?
- Dynamically import a method in a file, from a string
- Format of datetime in pyplot axis
- Get all numbers that add up to a number
- How do I check if a string is valid JSON in Python?
- Webpage Is Detecting Selenium Webdriver with Chromedriver as a bot
- fuzzy timestamp parsing with Python
- Plot inline or a separate window using Matplotlib in Spyder IDE
- import matplotlib.pyplot hangs
- Change file type in PyCharm
- ubuntu ImportError: cannot import name MAXREPEAT
- What does backward-slash b do in Python?
- Determine if an image exists within a larger image, and if so, find it, using Python
- Python3 project remove __pycache__ folders and .pyc files