Answer to Question #276451 in Python for Snave

Question #276451

List three possibilities to consider if a function is not working.


1
Expert's answer
2021-12-07T09:22:05-0500

First is something wrong with the arguments the function is getting; a precondition (The "precondition" states the situation under which the function operates correctly) is violated.

Second, something wrong with the function; a postcondition (the "postcondition" states what the function has accomplished when it terminates) is violated.

And third, something wrong with the return value or the way it is being used.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS