Also note that over 500 people have solved this in Python, so the chance that all 500 of them made the same error as the checker in order to pass is very unlikely. I am going to close this, but you can post more evidence if you are convinced there is a problem.
please use a spoiler next time
This comment is hidden because it contains spoiler information about the solution
Also note that over 500 people have solved this in Python, so the chance that all 500 of them made the same error as the checker in order to pass is very unlikely. I am going to close this, but you can post more evidence if you are convinced there is a problem.
The two solutions you showed in the original post are not the same, they are different. Have a look at both of them where I've marked Xs.
Therefore there is no unique solution.