CHALLENGE #2: This code can't be refactored with a Loop with Range. Follow these guidelines to simplify this code:

  • Use only one line that includes sprite = codesters.Sprite.
  • Use only five Glide To commands.
  • Add one Empty List and fill it with the necessary information.
  • Add one Loop through List.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE