More than one code practice. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

More than one code practice.

Hey Community! I have a quick question. I noted in some practices in this app, the exercise asks me for more than one code (in the practice they are called "case" In the output section). Can you please help me understand how can I input two or more codes that get me the two or more expected outputs for each case without causing an issue to each other?

29th Dec 2021, 5:40 PM
Carlos Dubois
2 Answers
+ 3
You have only to write one code. This code will be tested with differend inputs (cases). And your code has to print out the expected result for each of this cases.
29th Dec 2021, 5:53 PM
Coding Cat
Coding Cat - avatar
+ 1
Thank you very much for you answer!! I could solve it shortly after I posted this! :)
30th Dec 2021, 1:25 PM
Carlos Dubois