Skip to content

Commit

Permalink
Merge pull request #244 from AbuBakkar32/Abu-Bakkar
Browse files Browse the repository at this point in the history
word count
  • Loading branch information
AbuBakkar32 committed Jun 7, 2024
2 parents cd9b17e + 548b5c0 commit 41314d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Python Basic/vowels count.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'Hello every one my name is abu bakkar siddik. i am from bangladesh. '
'I am studying as a software engineer under daffodil international university. '
'My dream is so long and may Allah fulfill my dreams'
).casefold()
).casefold()

# Initialize counts
counts = {char: 0 for char in VOWELS}
Expand Down
2 changes: 1 addition & 1 deletion Python Basic/word_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
sentence = ("my name is Rakib. "
"are your know me? hey Rakib your are so smart and sexy!. "
"i love you Rakib."
).casefold()
).casefold()

# Remove punctuation and numbers
cleaned_sentence = re.sub(r'[^\w\s]', '', sentence)
Expand Down

0 comments on commit 41314d5

Please sign in to comment.