Question: Problem 2 - anagrams . py Write a function is _ anagram ( word 1 , word 2 ) that compares two strings and returns
Problem anagrams py
Write a function isanagramword word that compares two strings and returns a boolean denoting
whether they are anagrams.
isanagram rat 'tar'
True
isanagram rat 'hat'
False
isanagram meat 'team'
True
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
