From 1cb811f877cb8af6af2820e258e3360a2772ece7 Mon Sep 17 00:00:00 2001 From: Rohit Tanwar <31792358+kriadmin@users.noreply.github.com> Date: Tue, 9 Jan 2018 18:29:43 +0530 Subject: [PATCH] Update typo.md --- snippets/countVowels.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/countVowels.md b/snippets/countVowels.md index 2f3450f1d..dd20022eb 100644 --- a/snippets/countVowels.md +++ b/snippets/countVowels.md @@ -9,11 +9,11 @@ import re def countVowels(str): - return len(len(re.findall(r'[aeiou]', 'bcedfidsnoxluAEIO', re.IGNORECASE))) + return len(len(re.findall(r'[aeiou]', str, re.IGNORECASE))) ``` ``` python countVowels('foobar') # 3 countVowels('gym') # 0 -``` \ No newline at end of file +```