A tiny bit of an issue with one of the Code Projects | Sololearn: Learn to code for FREE!
+ 1

A tiny bit of an issue with one of the Code Projects

Hi there everyone I think I might have found a tiny bit of an issue with one of the Code Projects. It is more of a logical problem than a bug or anything. You see, in "Python for Beginners" course, under "Control Flow" section, there is "BMI Calculator" Code Project. I solved it using a primitive code: https://code.sololearn.com/cB7LlI4PHdhR Now, the problem is that while I _intentionally_ constructed the dictionary with extra spaces as you can see, the final result is still accepted as a solution to the project. While I can see why the tailing spaces might have been omitted to accept the answer, from an educational standpoint this results in bad learning habit probably. I mean it might be better to tell the learner that while their answer is acceptable but it contains extra elements or spaces that must be corrected so the answer becomes fully acceptable What do you think? Thank you

31st Oct 2021, 4:21 AM
Abraham
Abraham - avatar
2 odpowiedzi
+ 6
I can see your point, and generally I agree that a computer program should precisely follow the instructions to give the expected result. However there is also some merit in not being too fussy about extra whitespaces in a BEGINNER coding quiz. New learners are less likely to be discouraged by rejection that is impossible to debug (because currently the code projects give insufficient feedback, especially in case of hidden tests, to find and fix errors). Anyway you can send your suggestion to the Sololearn dev team via the in-app feedback menu, maybe they will consider it in product development. On this forum we can't really do anything about it, apart from arguing :)
31st Oct 2021, 4:39 AM
Tibor Santa
Tibor Santa - avatar
+ 3
thank you Tibor Santa :) yes, arguing is not something i enjoy ☺ i guess pointing it out like this is probably just enough. Thank you for your input
31st Oct 2021, 5:56 AM
Abraham
Abraham - avatar