Ошибка: File "<ipython-input-4-990c3b38632d>", line 8
array_d = {}.fromkeys(b, 0)
^
IndentationError: unexpected indent
b = list()
a = None
while a != '':
a = str(input())
b.append(a)
b = list(set(b))
array_d = {}.fromkeys(b, 0)
for c in b:
array_d[c] += 1
print(array_d)