How to fix TypeError: 'type' object is not iterable in Python | DevErrors