Why do these lists not allow you to call on a certain item in it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do these lists not allow you to call on a certain item in it?

I created a list with around 30 items in it, and when I called on an item with an index of over 10, it raised an index error. Why?

11th Feb 2020, 8:44 PM
Alan Yu
Alan Yu - avatar
4 Answers
+ 4
We need to see your code, can you share it?
11th Feb 2020, 8:46 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
Share your code,so we can help you fix your errors
12th Feb 2020, 3:09 AM
Codebeast**
Codebeast** - avatar
0
Nevermind it as been solved
16th Feb 2020, 5:16 PM
Alan Yu
Alan Yu - avatar
0
If solved, please shared your solution here, so others can benefit from it. Thanks!
16th Feb 2020, 5:17 PM
Aymane Boukrouh
Aymane Boukrouh - avatar