Question: Python Programming Write a function, sort_unique, that returns a list of cities sorted alphabetically after duplicates have been removed. Do this in one line using

 Python Programming Write a function, sort_unique, that returns a list of

Python Programming

Write a function, sort_unique, that returns a list of cities sorted alphabetically after duplicates have been removed. Do this in one line using casting. print(sort_unique (["NYC", "ATL", "ATL"]))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!