In this challenge, you have to perform reverse steps of Iterative Rotation Cipher. Decoding is done by performing a series of character and substring rotations on a string input.
Create a function that takes a string of encoded message eMessage and returns a decoded message.
Encoded Message = `10 hu fmo a,ys vi utie mr snehn rni tvte .ysushou teI fwea pmapi apfrok rei tnocsclet`
Decoded Message = `If you wish to make an apple pie from scratch, you must first invent the universe.`
See the examples below for more understanding:
iterative_deciph("12 ory ,auruiec i,i OtacsuF!ht orpsnpo")➞ "Oh, Fortuna, you capricious sprite!"
iterative_deciph("6 im.T ei no .lLnicsan iluushted imouys blo") ➞ "Time is an illusion. Lunchtime doubly so."
iterative_deciph("22 tareu oo iucnaTr dled oldthser.hg hiarm nhcn se rliyet oincoa") ➞ "There is nothing more atrociously cruel than an adored child."
N/A