task anagrams write a function that checks


Task
(Anagrams) Write a function that checks whether two words are anagrams. Two words are anagrams if they contain the same letters. Fore example, silent and listen are anagrams. the header of the function is:

def isAnagram(s1, s2):

(Hint: Obtain two lists for the two strings. Sort the lists and check if two lists are identical.)

Write a test program that prompts the user to enter two strings and, if they are anagrams, displays is an anagram; otherwise, it displays is not an anagram.
Detailed explanation: NO

Request for Solution File

Ask an Expert for Answer!!
Python Programming: task anagrams write a function that checks
Reference No:- TGS0176801

Expected delivery within 24 Hours