python dict comp code example
Example 1: create dictionary comprehension python
{key:value for key in iterable}
Example 2: dictionary comprehension python
print({i:j for i,j in zip(txt_list,num) if i!="All"})
{key:value for key in iterable}
print({i:j for i,j in zip(txt_list,num) if i!="All"})