After tons of attempts and on the edge of desperation I decided to use the answer provided by CodeGym. First of all, my answer is literally the same as theirs But this is not everything, it doesn't even pass the provided answer. How is that even possible ? Please let me know what you think.