0

15.1 and 15.2 lessons - How could I answer to 2 test cases at the same time?

Good evening, Iam stuck at 15.1 lesson because when I reply to the first test case I’ve an error on the 2nd test case and when I reply on the 2nd test case I’ve an error on the first one 😩 Is there someone who could help me please? 🙏😁

13th Nov 2021, 9:39 PM
SoooLooo
SoooLooo - avatar
5 odpowiedzi
+ 2
Yes. Typically this involves taking input and using variables.
13th Nov 2021, 9:44 PM
Simon Sauter
Simon Sauter - avatar
+ 1
You have to write a code that works for all test cases.
13th Nov 2021, 9:41 PM
Simon Sauter
Simon Sauter - avatar
+ 1
I recall having a discussion about this just a few days ago. The answers in these threads along with the examples should resolve the doubts you have. https://www.sololearn.com/discuss/2918781/?ref=app https://www.sololearn.com/Discuss/2918880/?ref=app
14th Nov 2021, 12:18 AM
Hatsy Rei
Hatsy Rei - avatar
0
You mean a code which replies at the 2 cases at the same time?
13th Nov 2021, 9:43 PM
SoooLooo
SoooLooo - avatar
0
Thank you so much!
13th Nov 2021, 9:45 PM
SoooLooo
SoooLooo - avatar