-
-
Save SnowyPainter/334f040a85501bad9a7675a4d055ac42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i = 0 | |
l = 0.0 | |
syl = 0.0 | |
v = ['a', 'e','i','o','u'] | |
while(i < 30): | |
s = input() | |
for k in range(len(s)): | |
if(s[k] in v): | |
syl+=1 | |
tmp = len(s) | |
l += tmp | |
i+=1 | |
print("average len", l/(i)) | |
print("average syl", syl/(i)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment