What is a 'Runtime Error'?

Asked by stem_mind · 2 weeks ago

1 Answer

4
amorebise · 2 weeks ago Top Answer

This is when your code starts running but then something goes wrong—like trying to divide a number by zero or opening a file that doesn't exist.

It's like a car that starts fine but then has a flat tire while you are driving. You have to handle these possibilities in your code so the program doesn't crash.

Log in to add a comment.