I am new to Python. I am trying to import izip_longest from itertools. But I am not able to find the import “itertools” in the preferences in Python interpreter. I am using Python 3.5.2. It gives me the below error-
from itertools import izip_longest ImportError: cannot import name 'izip_longest'
Please let me know what is the right course of action. I have tried Python 2.7 too and ended up with same problem. Do I need to use lower version Python.