This question already has an answer here:
- Cambridge Transposition 17 answers
As you may (or may not) know, the human brain is very good at filtering stuff out. Making things easier for us. Take the next sentence for example:
Tihs is a vrey esay seetcnne wtih smoe lnog wdros and smoe smlelar wrods
You read that pretty easily didn't you?
Now for the challenge: Write a program that takes an input (a sentence) and turns it into a sentence similar to the one above. The first and last letter of a word can not be changed, and the ones in the middle should be shuffled.