← Back to List

11319번: Count Me In ↗

Solutions

Python 3
164 B | 164 chars
for _ in range(int(input())):
    a="".join(input().split()).lower()
    L=['a','e','i','o','u']
    c=0
    for i in L:
        c+=a.count(i)
    print(len(a)-c,c)