Question about -i. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Question about -i.

https://code.sololearn.com/cEBL14Qi3XI9/?ref=app in the following code i have placed -i in the second for loop but don't no it's work. please tell me the work of it and also what will happen if i don't place it.

26th Oct 2018, 12:44 PM
Vivek Mishra
Vivek Mishra - avatar
1 Answer
+ 1
Vivek Mishra It does not show any change just because of when the value of i become 1 it does not effect the inner loop as all condition is false //hope u get it
26th Oct 2018, 2:20 PM
Harsh Agrawal
Harsh Agrawal - avatar