How to solve an error in python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to solve an error in python ?

18th Jul 2021, 10:30 AM
Ronit Dabgar
Ronit Dabgar - avatar
2 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.
18th Jul 2021, 10:31 AM
Slick
Slick - avatar
+ 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.
18th Jul 2021, 10:34 AM
Ipang