Question: -using paython- Write a program that reads from the user two words of equal length, separated by a hyphen (-). The program needs to find

-using paython-
Write a program that reads from the user two words of equal length, separated by a hyphen (-). The program needs to find out if the second word is a scrambled version of the first word. If they are, print Match, otherwise, print No Match.
Examples:
If the user entered (aba-baa), then the program prints Match.
If the user entered (acc-aac), then the program prints No Match.

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!