Python exercise

Greedy sort a permutation by reversals

Sign in to hand in your solution and get feedback.