Hi all I'm facing a weird problem with for loop , here is my code
this is the output
you will find my questions as comments in the code and the output . what i wanna do is when i = 0 it goes to the inner for loop till x reaches 28 then increment i by ...etc till i reaches 13 ..
Because there is no element at position x for that list. I'd also split out your code a little so that you can clearly see when you are accessing what.