+ 2

Can anyone explain me the logic of this code?

I cannot understand why this code outputs: 1 2 3 Can anyone explain me please šŸ¤” https://code.sololearn.com/cB45sc5BQyBI/?ref=app

19th Jun 2022, 11:46 AM
Amul Gaurav
Amul Gaurav - avatar
5 Answers
+ 3
I still not properly understand but get a bit of this, thanks a lot David for helping me out šŸ˜Š Recursion is really difficult.
19th Jun 2022, 12:00 PM
Amul Gaurav
Amul Gaurav - avatar
0
Output 2 3
20th Jun 2022, 7:52 PM
Shivam Pandey
0
It follows condition showing here
20th Jun 2022, 7:52 PM
Shivam Pandey