Exceptions and feedbacks

Report a typo

Have a look at the code. What will the program display? Choose the right answer.

a = -2
b = 10
c = a / b

if c >= 0:
    print(c)
else:
    raise Exception('Something went wrong!')
Select one option from the list
___

Create a free account to access the full topic