lis = [11,22,33,44,55,66,77,88,99,90]
dic =dict()
dic['k1']=[]
dic['k2']=[]
print(dic)
for i in lis:
if i >66:
dic['k1'].append(i)
elif i<66:
dic['k2'].append(i)
print(dic)
#######################################
s='hello jason tank tank jason sean say hello dsd dsd sb'
s_list =s.split(' ')
print(s_list)
dic = dict()
for i in s_list:
if i in dic:
dic[i] +=1
elif i not in dic:
dic[i] = 1
print(dic)
########################################
with open('a.txt','r',encoding='utf-8') as fr:
num = 0
for i in fr:
i_list=i.strip(). split(' ')
#print(i_list)
num +=int(i_list[1])*int(i_list[2])
print(num)
###########################