How can we avoid duplicate entries while using arbitrary arguments?
eg. def duplicate(*details):
for x in details
print("Good day ", details)
duplicate('Anita', 'Dhruv', 'Yash', 'Dhruv')
how do I filter out the duplicate name 'Dhruv' in this list of arguments while printing?
My same query is for arbitrary keyword arguments too...