Exercise: Filter dictionary by value

Filter the customers dictionary to extract the highest spending customers.
Loop through the key-value pairs of the customers dictionary. If a customer spent more than 500, add them to the top_customers dictionary.
Python
Setting up Python environment...
Output