Write top_city(cities) returning the city that appears most often. If two cities tie, return the one that appeared first. The list is never empty.
top_city(['Pune', 'Delhi', 'Pune']) → 'Pune'
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.