I wanted to write an anagram solver that would return a list of the anagrams of the same length of a given word/combination of characters, such that:
same_length_anagrams("deify") => "edify"
or
same_length_anagrams("ogb") => "bog", "gob"
I wanted to write an anagram solver that would return a list of the anagrams of the same length of a given word/combination of characters, such that:
same_length_anagrams("deify") => "edify"
or
same_length_anagrams("ogb") => "bog", "gob"