Python 3 - use itertools zip_longest for map on line 40