While working on Python and it’s List and List functions, If we make some mistake as in try to pass the unsupported type, It gives you this error.
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’
Root cause: You are passing value in List which is different from other values in the list.
Solution: Remove the unsupported type from the list and run it again.