Exercise 5 wrong

Although I answered the exercise correctly, it was marked as incorrect. Please review it.