Question: Python Anagram strings question 8- Anagram strings: Assume two inputs are given by a user and we want to know if those two inputs are

Python Anagram strings question

Python Anagram strings question 8- Anagram strings: Assume two inputs are given

8- Anagram strings: Assume two inputs are given by a user and we want to know if those two inputs are an anagram. An anagram is a direct word switch. It results a new string that has rearranging letters, using all the original letters exactly once. For example, the word anagram can be rearranged into nagaram Guidance: One way to sort the letters of a string without changing its type to a List data type (that you will learn later) is using the following method: >>> a "ZENOW. >join(sorted(a)) >> print (b) ENOVWZ

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!