Question: Write a function that checks whether two words are anagrams. Two words are anagrams if they contain the same letters. For example, silent and listen
Write a function that checks whether two words are anagrams.
Two words are anagrams if they contain the same letters. For example, silent and listen are
anagrams. The header of the function is:
def isAnagrams s:
Write a main function that prompts the user to enter two strings and, if they are anagrams,
displays is an anagram; otherwise, it displays is not an anagram. Do not use method sort or lists
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
