Question: In Python: Create a function that can take an unknown number of dog names. Dog names can be repeated in the list of arguments. The
In Python:
Create a function that can take an unknown number of dog names. Dog names can be repeated in the list of arguments. The function should be named compile. The function should return a sorted (alphabetically ascending) list of dog names without duplicates. Case should be ignored when considering duplicates. Your function must handle all valid amounts of arguments.
>>> compile('Spot', 'Blues Cluse', 'pluto') ['Blues Clues', 'pluto', 'Spot'] Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
