Exercise 5-help

Please can you give an extra hint on what to do in this exercise? A can switch the letters please…

Please consider the string ‘help’.
If you were to start at index 1 and start switching a character with the previous character you’ll get:

  1. ehlp
  2. hlep
  3. hepl