What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2022-01-28 19:21:08
output percentage of vowels and consonants in a given file in python
# Python Program to Count Vowels and Consonants in a String str1 = input("Please Enter Your Own String : ") vowels = 0 consonants = 0 for i in str1: if(i == 'a' or i == 'e' or i == 'i' or i == 'o' or i == 'u' or i == 'A' or i == 'E'... Add solution