old_string= '"python"' new_string=old_string.replace('"','') print("The original string is - {}".format(old_string)) print("The converted string is - {}".format(new_string))