0
How to solve an error in python ?
3 Answers
+ 2
look at the error message and fix what it says is wrong.
It usually gives line number, sometimes exactly where the issue is, and also an error name to detirmine what was done wrong.
+ 2
Copy the error message and search for solution on that message using any search engine of your choice.
Some error messages are clear enough in telling what was wrong, and usually even also indicate line numbers, so you can easily track down the problems and fix them.