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