Write a program to remove all duplicate characters from a string


Topic: Write a program to remove all duplicate characters from a string

Solution

str1 = "what a great day!"
print("".join(set(str1)))



List all Python Programs