Ask Question
28 June, 23:25

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

+1
Answers (1)
  1. 29 June, 03:06
    0
    see explaination

    Explanation:

    def do_something_complicated ():

    raise NotImplementedError ()
Know the Answer?
Not Sure About the Answer?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers