Computers and Technology, 14.02.2020 04:12, ultimateknight8
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 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 checks whether they are anagrams.
Sample Run 1
Enter a string s1: silent
Enter a string s2: listen
silent and listen are anagrams
Sample Run 2
Enter a string s1: split
Enter a string s2: lisp
split and lisp are not anagrams
Answers: 1
Computers and Technology, 22.06.2019 22:30, hmontalvo22
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
Computers and Technology, 22.06.2019 23:30, elizabethburkha
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
Write a function that checks whether two words are anagrams. Two words are anagrams if they contain...
Mathematics, 26.10.2020 17:20
Biology, 26.10.2020 17:20
Health, 26.10.2020 17:20
History, 26.10.2020 17:20
English, 26.10.2020 17:20
English, 26.10.2020 17:20