+ 1

Can you check my code and say what's wrong with it? It's from the sololearn exercise

https://code.sololearn.com/cD3G6zPQdFXW/?ref=app

30th Dec 2020, 3:29 PM
Tim
3 odpowiedzi
+ 2
in your add function suddenly an object b appears? Maybe name the parameter b instead of capacity?
30th Dec 2020, 3:41 PM
Lisa
Lisa - avatar
+ 2
Timour Zinaliyev , can you please describe what kind of problem you encouter? The code runs without any error, and it seems also create the correct result. Only the output could be optimized by inserting some blancs.
30th Dec 2020, 3:37 PM
Lothar
Lothar - avatar
0
Lisa is the best answer it's a question from the course of solo learn, if it runs it doesn't mean it is good
28th Jun 2021, 8:27 PM
Tim