+ 1

Why????

I solved a problem in the sololearn and it is currect but still give error!! why? My output is equal to sololearn output! https://code.sololearn.com/cPzc8gZTRRZj/?ref=app

30th Nov 2020, 2:25 PM
MohammadReza Aghajany
MohammadReza Aghajany - avatar
2 ответов
+ 6
MohammadReza Aghajany , to give you an appropriate help, we need to see your code, and a complete description of the task that should be solved. Please put your code in playground and link it here. Thanks!
30th Nov 2020, 2:44 PM
Lothar
Lothar - avatar
+ 6
Because!!! That one line after the other line with that one condition failed to take into account all conditions when considering how the other block parsed the input. So not all the output could possibly be equal to all SoloLearn output!
30th Nov 2020, 3:08 PM
David Carroll
David Carroll - avatar