Write a program which accepts a list of integers which may contain duplicated integers, and which outputs the input list as a sorted list in ascending order without duplication (the same program as specified in Assignment 1).
Write a program which accepts a list of integers which may contain duplicated integers, and which outputs the input list as a sorted list…