Contact: aviboots(AT)netvision.net.il
40,769 questions
53,151 answers
573 users
import itertools lstid = [1, 2, 3, 4] lstname = ["Fox", "Neo", "Kaylee"] lstage = [55 ,36, 97] for a, b, c in itertools.zip_longest(lstid, lstname, lstage, fillvalue = 0): print(a, b, c) ''' run: 1 Fox 55 2 Neo 36 3 Kaylee 97 4 0 0 '''