Question: Write a python program that reads from the user two words of equal length, separated by a hyphen (-). The program needs to find out
Write a python 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
Get step-by-step solutions from verified subject matter experts
