• please help with the solution of the problem

 

Enter the dictionary of cities. As a value, specify a tuple containing them geographical coordinates. The program should display the list of three the bridge, the longitude or the latitude of which is closest to the one entered. can not understand how to write code correctly