How to fix the Python TypeError: ‘int’ Object is not Iterable | Hacker Noon