Do runtime errors exist in Python? Give an example? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Do runtime errors exist in Python? Give an example?

If ans is yes than in which senario runtime error is occur? Explain it with example so I can understand it in better way.

13th Apr 2020, 6:24 PM
Akshita Patel
Akshita Patel - avatar
1 Answer
0
Yes exists offcourse.. You read it in try catch mechanism.. If something goes wrong at runtime.. Dividebyzero, file not found, arrayindexoutofbounds,... That can be handled by try catch mechanism.. See in this,, hoping you already know it.. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2440/
13th Apr 2020, 6:41 PM
Jayakrishna 🇮🇳