What is runtime error in Python? Provide an example
1 answer:
Answer:
If the program is syntactically correct means there are no syntax errors in the program the python interpreter will execute the program.But if the program exits unexpectedly then there exists a run-time error in the python program.
For Example:-
Accessing a list element which does not exists. divide by 0. Accessing a file which does not exists. Performing operation on incompatible types. For ex:-
my_list=[1,34,7,3,7,8]
print(my_list[6])
This code will produce run-time error.
You might be interested in
Answer:
sorry I don't speak that language
Answer:
whyyyyy
have a good day :)
Explanation:
Explanation:
A centralized database (sometimes abbreviated CDB) is a database that is located, stored, and maintained in a single location.
I believe its A as the image provided says plain message
Answer:
if 4 slinkies were put down a set of stairs at different times but reached the bottom at the same time. whats the difference?
Explanation: