I'm working on writing a small program that jumbles up a word an allows the user to move letters around in a string until the word us un-jumbled.
If the given word is "movie"
The program might jumble it to say "vmioe"
In which case "v" would be 0, "m" would 1, etc.
The user would type in a number for lets say the letter "e", in this case 4
Then the user would select a letter to swap with, lets say the letter "m", in this case 1
The program would then swap "e" and "m" to make the jumbled string look like "veiom"
Any help would be useful, I'm new to python.