def sum(num1, num2):
    try:
        return num1 + num2
     except (TypeError, ZeroDivisionError) as err:
        print(err)
        # except TypeError as err:
        # print('plz enetr number' + err)
        # print(f'please enter numbers {err}')


print(sum(1, '2'))
