It worked but it ideally shouldn't have a problem like that, since the output and code itself is correct. Due to that error I couldn't go forward in the course even after I bought it. Atleast, there should be an option to go to the next lesson if the current one isn't completed.