I got this problem in sololearn challenges. Accordingbto me, the correct output should be 4. But unfortunately it is not. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I got this problem in sololearn challenges. Accordingbto me, the correct output should be 4. But unfortunately it is not.

What should the output of this code? https://code.sololearn.com/cNwb57hTpf0I/?ref=app

13th Dec 2022, 9:23 AM
Oliver Pasaribu
Oliver Pasaribu - avatar
5 Answers
+ 2
It is printing 4 only...
13th Dec 2022, 9:38 AM
Jayakrishna 🇮🇳
+ 1
What is the name of the challenge?
14th Dec 2022, 6:40 PM
Chris Coder
Chris Coder - avatar
0
Sololearn team should fix or revise it.
13th Dec 2022, 10:09 AM
Oliver Pasaribu
Oliver Pasaribu - avatar
0
Can you show the screen shot of challenge?
13th Dec 2022, 10:12 AM
Jayakrishna 🇮🇳
0
Next time maybe.
14th Dec 2022, 12:12 PM
Oliver Pasaribu
Oliver Pasaribu - avatar