You are viewing a single comment's thread. Return to all comments →
I wrote own code in pypy3
import re n = int(input()) text = map(str,input().split()) score = 0 pattern = r'[aeiouy]' for i in text: match = re.findall(pattern,i) count = len(match) if count%2 == 0: score += 2 else: score += 1 print(score)
Seems like cookies are disabled on this browser, please enable them to open this website
Words Score
You are viewing a single comment's thread. Return to all comments →
I wrote own code in pypy3