--

It seems to me some version issue. You procedure is correct so as your output. At current version of python it doesn't support type conversion for unzipping a zipped element to a tuple.

Let me update the code.

--

--

Abhay Parashar

Cyber Guy 🧑‍💻| Top Writer | 5M+ Views | Engineer | Learning and Sharing Knowledge Everyday | Python is ❤️| Editor of The Pythoneers