이것은 어떤가요:
b = ['a','b','c'] + [None]*(len(a)-len(b))
또는 dict를 구성 할 때 다음을 수행합니다.
dict(zip(a,b +[None]*(len(a)-len(b))))
-------------------itertools
모듈은 당신이 덮여있다.
http://docs.python.org/2/library/itertools.html#itertools.izip_longest
itertools.izip_longest (* iterables [, fillvalue])
각 이터 러블에서 요소를 집계하는 이터레이터를 만듭니다. 이터 러블의 길이가 고르지 않으면 누락 된 값이 fillvalue로 채워집니다. 가장 긴 이터 러블이 소진 될 때까지 반복이 계속됩니다.
출처
https://stackoverflow.com/questions/22079786