It could be SOLVED. Why?What I have to do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

It could be SOLVED. Why?What I have to do?

My last three tests are locked. I misunderstand nothing about my error. https://code.sololearn.com/cahmU18LLNAp/?ref=app

29th Mar 2022, 3:06 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
4 Answers
+ 6
HungryTradie ,thank you very much.!☺️👋
29th Mar 2022, 6:58 AM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
+ 1
G'day Egor Tonchev(EGO) I'm sure there is a better way to strip the comma from the input, but what about doing this: https://code.sololearn.com/cnMUl1QtWu45/?ref=app
29th Mar 2022, 4:48 AM
HungryTradie
HungryTradie - avatar
+ 1
No worries. The other way: take the whole input (whole line) as a string, then parse out the integers. Not super complicated, but not a beginners task. For now ☕ or 🍫
29th Mar 2022, 7:11 AM
HungryTradie
HungryTradie - avatar
0
Go and revise , how to take input correctly ... Then try to solve it again... Btw correct is https://code.sololearn.com/cp5Dxwky77lj/?ref=app
29th Mar 2022, 3:11 AM
saurabh
saurabh - avatar