Skip to content

Commit 0ca1279

Browse files
authored
Fixed grammar on Anagram Description (#5512)
Made the description more formal, also fixed a few grammatical issues.
1 parent 629848e commit 0ca1279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: strings/check_anagrams.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def check_anagrams(first_str: str, second_str: str) -> bool:
77
"""
8-
Two strings are anagrams if they are made of the same letters
8+
Two strings are anagrams if they are made up of the same letters but are
99
arranged differently (ignoring the case).
1010
>>> check_anagrams('Silent', 'Listen')
1111
True

0 commit comments

Comments
 (0)