TypeError: not all arguments converted during string formatting

the solution is here: