Python Program To Count Vowels and Consonant in Given String in Python - In Hindi

preview_player
Показать описание
Python Program To Count Vowels and Consonant in Given String in Python - In Hindi Tutorial#51

In this video, I have explained the Python program to count vowels and consonants in a string in Hindi. We have the done many programs using string concept and this is one of the important program in Python.

Dear Friends, please help this channel to grow. I will keep uploading quality python tutorial for you.

Tags Used:

count vowels and consonants in a string in python
count vowels in python
count vowels using while loop in python
count vowels in a string in python
python vowel program
python program to check a character is vowel or not
count vowels
findout vowels
vowels in string

#codeitup
#python
#string
Рекомендации по теме
Комментарии
Автор

I've seen many python tutors on youtube but SIR your way of style is way better than others . Thank you SIR, keep making these type of videos . Very helpful

mohsinqureshi
Автор

This type of basic problems are very helpful to prepare for Placements. Thankyou Sir <3

mayurlavangare
Автор

a = input("Enter a string : ")
S = "aeiouAEIOU"
v = 0
c = 0
for i in range(0, len(a)):
if a[i] in S :
v += 1
else :
c += 1
print("The number of vowels:", v)
print("The number of consonants", c)
We can do this also

lollmao
Автор

sir ek doubt tha ki me python mobile app pydroid3 se sikh rha hu or jb me gTTs module ya phir playsound module ke syntax ko run krwata hi to module not found error btata h kya krna chhiye sir🤔

Art_mood
Автор

Sir yadi ham ese membership operator se kare to


Str=input( "enter the string")
Vowel=0
Cons=0
if "a" in str or "e" in str or "i" in str - - - - - :
Vowel = vowel +1
else:
Cons= cons+ 1
Print(vowel, cons)

karishmasharma
Автор

Sir write a program to separate the string into vowels and consonant
Sir please 🙏🙏🙏

shitalrathore
Автор

Sir pls tell me that if we have to print the vowels we don't want to know the how many vowels are there

vandnaprajapatifcommerce
Автор

raja=input("enter your word to check :")
vowel=0
consonant=0
for i in range(len(raja)):
if raja[i] in ["a", "e", "o", "u", "i", "A", "O", "U", "I", "E"]:
vowel=vowel+1
elif raja[i]==" ":
consonant+=0
else:
consonant+=1
print("total number of vowel:", vowel)
print("total number of consonant:", consonant)

Art_mood
Автор

Sir if u will use membership operator like in then the program will be more easy

sardarji
Автор

Please tell me haw to find in while loop

youtubeer
Автор

Sir how to find non repeated vowel
Ex- input- aabedjgi
Output -2(e&i) non repeated vowel

sahilrohilla
Автор

not to run my code...
please help me ....

hgixvhe
Автор

What if I enter "Jacob123" as an input? Won't the program count 1, 2, and 3 as consonants?

jacob.mp
Автор

But space ko count kar raha hai sir how can i remove this error ?

sukhbirkaur
Автор

How can i repeat the program in idle??

pushpadevi