TRIN python code

Hi,



I have kept getting the following errors with the script you offered as a zip file.

TypeError: unsupported operand type(s) for -: 'str' and 'int'


Can you check with the codes?

Hi Kellen,



We are unable to replicate the error in the TRIN code. Could you please share some more details, such as,


  1. The input data, if different from the one given in code.
  2. The line of code which is throwing you the error.
  3. If possible, the screenshot.



    Thank you.



    PFA the output.