input("Enter/Paste your content. ") contents = [] def remove_by_ascii(text, ascii_code): # Filters out characters matching the specified ASCII code return "".join([char for char in text if ord(char) != ascii_code]) cleaned_text = remove_by_ascii(contents, 10) print(cleaned_text)