Bug in web app of Sololearn | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Bug in web app of Sololearn

Hey, I would like to become a QA engineer and I found a bug in sololearn. So I was trying to make this task in introduction to Python course - Control flow - Code project “BMI Calculator”. I have tried to make code for this project in PC chrome browser and got same crush of lesson few times. It just closed the lesson with red message that something went wrong, my code wasn't saved, have to make it again from scratch. I have tried with different version of the code always same result, I checked my code

23rd Mar 2023, 3:45 PM
Victor Kapustin
Victor Kapustin - avatar
6 Answers
+ 5
I am totally empathetic about your crashes and annoyance of losing your code because of it. But I just found it funny that you mentioned aiming to become a QA engineer. Apparently, Sololearn does need more of these too, maybe they will hire you 😆
24th Mar 2023, 5:13 AM
Tibor Santa
Tibor Santa - avatar
+ 2
The logic fails if bmi=30, but that should not cause a crash. Definitely worth reporting to Sololearn.
23rd Mar 2023, 5:17 PM
Brian
Brian - avatar
+ 1
I checked my code in VS studio it was working as it should be, I copy paste my code to iOS app and the lesson was completed successfully so I think there is the bug which leads to crush in web app version of sololearn
23rd Mar 2023, 3:46 PM
Victor Kapustin
Victor Kapustin - avatar
+ 1
Here is my code: weight = int(input()) height = float(input()) bmi = weight / height**2 if bmi < 18.5: print('Underweight') elif bmi >= 18.5 and bmi < 25: print('Normal') elif bmi >= 25 and bmi < 30: print('Overweight') elif bmi > 30: print('Obesity')
23rd Mar 2023, 3:46 PM
Victor Kapustin
Victor Kapustin - avatar
+ 1
Can you please send a bug report to info@sololearn.com?
23rd Mar 2023, 3:47 PM
Lisa
Lisa - avatar
0
Sure I will send
23rd Mar 2023, 3:48 PM
Victor Kapustin
Victor Kapustin - avatar