Ask Question
7 June, 17:17

In python:

the function below isn't yet implmented; the author just put a pass statement so that the python interpreter doesn't complain when it parses this code. (the pass statement acts as an empty block.) this is bad. you want the program to crash (during testing) if it tries to execute a statement that hasn't been implemented. fix the code so that a notimplementederror exception is raised if the function gets executed.

student. py

1 - def do_something complicated ():

2 pass

+5
Answers (1)
  1. 7 June, 18:22
    0
    see explaination

    Explanation:

    def do_something_complicated ():

    raise NotImplementedError ()
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “In python: the function below isn't yet implmented; the author just put a pass statement so that the python interpreter doesn't complain ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers