Explain the different types of errors in python program with example. *
Answers
Answered by
17
Answer:
1)index error is thrown when trying to access an item at an invalied index
2)module not found error is thrown when a module could not be found
3) key error is thrown when a key is not found.
4) import error is thrown when a specified function can be not found
Answered by
0
Answer:
1) index error is throw when trying to access an item at an invalied index
2) module not found error is throw when a module could not be found
3) key error is thrown when a key is not found
4) import error is throw when a specified function can be not found.
Hope it helps to you ☺
Similar questions
English,
5 months ago
English,
5 months ago
Social Sciences,
11 months ago
Biology,
11 months ago
Computer Science,
1 year ago
Economy,
1 year ago