strings.check_anagrams¶

wiki: https://en.wikipedia.org/wiki/Anagram

Attributes¶

input_a

Functions¶

check_anagrams(→ bool)

Two strings are anagrams if they are made up of the same letters but are

Module Contents¶

strings.check_anagrams.check_anagrams(first_str: str, second_str: str) bool¶

Two strings are anagrams if they are made up of the same letters but are arranged differently (ignoring the case). >>> check_anagrams(ā€˜Silent’, ā€˜Listen’) True >>> check_anagrams(ā€˜This is a string’, ā€˜Is this a string’) True >>> check_anagrams(ā€˜This is a string’, ā€˜Is this a string’) True >>> check_anagrams(ā€˜There’, ā€˜Their’) False

strings.check_anagrams.input_a¶