Python Count consonants

  

Python (Count consonants and vowels) Write a program that prompts the user to enter a text filename and displays the number of vowels and consonants in the file. Use a set to store the vowels A, E, I, O, and U.

Tags: No tags