I just don't understanding , my vowel detecting code just keep giving me the sum of all inputted characters.. any assistace pls | Sololearn: Learn to code for FREE!
+ 1

I just don't understanding , my vowel detecting code just keep giving me the sum of all inputted characters.. any assistace pls

https://code.sololearn.com/cNo7Xhba17T4/?ref=app

28th Dec 2018, 12:37 AM
abdulsammad carlabubakar
abdulsammad carlabubakar - avatar
3 Answers
+ 1
for ch in Vowel: vcount += 1 So that is what you are doing: You are walking through the list Vowel and add +1 with every step. What did you want to do instead?
28th Dec 2018, 12:47 AM
HonFu
HonFu - avatar
0
thanks. I wanted a program that takes user input and sum up the total number o vowel leters in It
28th Dec 2018, 12:50 AM
abdulsammad carlabubakar
abdulsammad carlabubakar - avatar
0
Vcount += 1 Change it to this if ch in Word: Vcount+= 1
28th Dec 2018, 1:01 AM
GiveAway
GiveAway - avatar