13,420
edits
Changes
→PART 1 - Handling Errors
15
</source><br>You should notice that since there was NOT an error, the Python script performed the required task.<br><br>
::#TypeError ExceptionNow, issue the following code that handles an exception error to provide user-friendly feedback that at least one of the values is not an integer:<source lang="python">
try:
print(5 + 'ten')