What is the logic behind this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
10th Oct 2020, 7:05 PM
Krishna
Krishna - avatar
1 Answer
+ 1
The value of i is great than 0 so untill it reach 0 after looping for some time and decreement with shift right 1 every loop Sololearn will be printed 12 times.https://code.sololearn.com/cR37D0i8So3B/?ref=app
10th Oct 2020, 7:24 PM
HBhZ_C
HBhZ_C - avatar