# Convert String to Set in Python # create a string strstring = "geeks"print("Initially")print("The datatype of string : " + str(type(string)))print("Contents of string : " + string)  # convert String to Setstring = set(string)print("\nAfter the conversion")print("The datatype of string : " + str(type(string)))print("Contents of string : ", string)