Fixed grammar on Anagram Description (#5512)

Made the description more formal, also fixed a few grammatical issues.
This commit is contained in:
Toki345 2021-10-22 22:07:57 +08:00 committed by GitHub
parent 629848e372
commit 0ca1279997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ wiki: https://en.wikipedia.org/wiki/Anagram
def check_anagrams(first_str: str, second_str: str) -> bool: def check_anagrams(first_str: str, second_str: str) -> bool:
""" """
Two strings are anagrams if they are made of the same letters Two strings are anagrams if they are made up of the same letters but are
arranged differently (ignoring the case). arranged differently (ignoring the case).
>>> check_anagrams('Silent', 'Listen') >>> check_anagrams('Silent', 'Listen')
True True