I was doing code coach and solved it but can't understand why in one case it loops and in the other it doesn't. Links below | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I was doing code coach and solved it but can't understand why in one case it loops and in the other it doesn't. Links below

15th Sep 2020, 4:11 AM
Anton
4 Answers
0
Here is the working code which loops https://code.sololearn.com/cSU214s33DP8/?ref=app
15th Sep 2020, 4:12 AM
Anton
15th Sep 2020, 4:13 AM
Anton
0
Ruba Kh They are different a little bit you you'd get different output
15th Sep 2020, 6:12 AM
Anton
- 1
Both are the same code
15th Sep 2020, 5:16 AM
Ruba Kh
Ruba Kh - avatar