5th day of python challenges 80-87

This commit is contained in:
abd.shallal
2019-07-22 15:22:11 +03:00
parent 6a11f68f12
commit d4902e6ad1
10 changed files with 196 additions and 49 deletions

View File

@@ -0,0 +1,7 @@
name = str(input('Enter your name ? : '))
vowel = ['a', 'i', 'e' 'o', 'u']
count = 0
for i in name:
if i.lower() in vowel:
count = count + 1
print('the number of vowels in your name {0}'.format(count))