1. Engineering
  2. Computer Science
  3. write a function called checkanagrama b that takes two strings...

Question: write a function called checkanagrama b that takes two strings...

Question details

Write a function called check_anagram(a, b) that takes two strings as input and returns True if they are anagrams and False otherwise Two words are anagrams of one another if you can form one word by using exactly the letters in the other word. For example, struts and trusts are anagrams, but bored and robbed are not. A student who completes this exercise should be able to: Treat a String as a sequence of characters For example: Test Result print (check_anagramCstruts, trusts True print (check_anagramCbored, robbed) False

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution