#month with most visit and who visited the white house for each month

<https://app.dataquest.io/m/353/working-with-dates-and-times-in-python/11/next-steps

#month with most visit and who visited the white house for each month
visit_per_month={}
for row in potus:
start_apt=row[2]
month=start_apt.strftime(’%b’)
if month not in visit_per_month:
visit_per_month[month]=1
else:
visit_per_month[month]+=1
#print(visit_per_month)

list_month_name=
for row in potus:
month=row[2].strftime(’%b’)
name=row[0]
d=month,name
list_month_name.append(d)
#print(list_month_name)
dic={}
for k in visit_per_month:
for row in list_month_name:
if k==row[0] and k not in dic:
dic[k]=row[1]
if k==row[0] and k in dic:
dic[k]+=row[1]

to find the names of visitors for each month the syntax used is
dic[name_of_month in%b]

Just want to confirm if my code is right. Plus to receive suggestions on other approaches to solve this question.

Are there any improvements required for my code or redundancies in my code