Dude this should be correct? But the code coach is showing wrong even of correct?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Dude this should be correct? But the code coach is showing wrong even of correct?!

Man please halp me there's a bug in the sololearn's code coach. https://code.sololearn.com/c03hjE1MX3Gz/?ref=app

8th Nov 2023, 5:39 PM
Akanksha Raundal
Akanksha Raundal - avatar
3 Answers
+ 9
Dude, you are supposed to take input() – instead of hard-coding the number of pieces
8th Nov 2023, 6:09 PM
Lisa
Lisa - avatar
+ 1
just take input by user:- input in py. input();
9th Nov 2023, 12:35 PM
Alhaaz
Alhaaz - avatar
0
Akanksha Raundal There are different input for different test cases so before going on conclusion you should check your code, you have fixed value for just 1 case and what about others?
9th Nov 2023, 3:43 PM
A͢J
A͢J - avatar