Question: Introductory Python course - need help. Please be simple with your functions. An anagram is a word, phrase, or name formed by rearranging the letters
Introductory Python course - need help. Please be simple with your functions.

An anagram is a word, phrase, or name formed by rearranging the letters of another. For example, cinema is an anagram of iceman, since they contain the same letters. Write a function that takes, as an argument, two strings, string1 and string2, and determines if they are anagrams. Name this function anagrams(string1, string2). For example, >>>anagrams("cinema", "iceman") should return True. As another example, >>>anagrams("hello", "world") should return False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
