Question: python IndexError: list index out of range i want to check if 6%3==0 until 36%12==0 but it is out ofrange 1st = [3, 6, 12,
![1st = [3, 6, 12, 36] for i in range(len(1st)): print (1st](https://s3.amazonaws.com/si.experts.images/answers/2024/05/664c8e6f929d6_231664c8e6f3cb1f.jpg)
python
IndexError: list index out of range
i want to check if 6%3==0 until 36%12==0 but it is out ofrange
1st = [3, 6, 12, 36] for i in range(len(1st)): print (1st [i+1]%lst[i])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
