I have a list and would like to convert all duplicates values to 3 without changing the order and without importing any packages X = [1, 2, 2, 5, 4, 8, 6] Desired output: X = [1, 3, 3, 5, 4, 8, 6] Continue reading...