Can I use a raised exception as an answer?

Re: Can I use a raised exception as an answer?

por Richard Lobb -
Número de respuestas: 0

Good answer :)

However, one thing to be aware of is that some students will simply print the expected output rather than throwing an exception. The easiest fix is to have a second similar test in which the exception handler prints something different.