QuestionQ180

VerifiedFunctions and Exceptions

What output does the following code produce?

Question Image

Explanation

input() returns a string, and the / operator is not defined for two strings. This raises TypeError, so the corresponding exception handler prints Very very bad input....

Community Discussion

No comments yet. Be the first to start the discussion!