Question: in python code One string is an anagram of another if the second is simply a rearrangement of the first. For example, 'heart' and earth'
One string is an anagram of another if the second is simply a rearrangement of the first. For example, 'heart' and earth' are anagrams. The strings 'python' and 'typhon' are anagrams as well. Write a function to check whether two strings are anagram or not? For example: Test Input Result Test Case 1: listen True silent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
