Answer:
See explaination for the program code
Step-by-step explanation:
Code below:
x, y, z = "abc", "15", "boo"
errors = []
try:
x = int(x)
except ValueError:
errors.append('x')
try:
y = int(y)
except ValueError:
errors.append('y')
try:
z = int(z)
except ValueError:
errors.append('z')
if len(errors) == 0:
print(x+y+z)
else:
print('bad value(s) in: ' + ' '.join(errors))