TypeError thrown

Unsupported operand types: int - string