Is there any inbuilt way to print duplicate elements present in a python list.
I can write program for the same.
All I'm searching for is if there is any inbuilt method or something for the same.
For Ex:
For input [4,3,2,4,5,6,4,7,6,8]
I need op 4,6