Solution Exercise 61: Python algorithm to remove the duplicate characters from given string
Exercise 61 Write a Python program as function which takes as parameter a string s and return an other string obtained by removing the duplicate characters of s. Example if…