How to find specific keys using specific values in python

I fixed it for you:

months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
total_sales = [1500,2250,1850,2000,2500,2400,2000,2100,2200,2800,2000,2750]

print('\n')

sales_per_month = dict(zip(months, total_sales))
print(sales_per_month)

print('\n')

average_sales = sum(sales_per_month.values())/len(sales_per_month.values())
print(average_sales)

print('\n')
for month, sales in sales_per_month.items():
    if sales > average_sales:
        print(month, sales)
    else:
        continue

output:

Feb 2250
May 2500
Jun 2400
Sep 2200
Oct 2800
Dec 2750