Answer:
lines = input("enter the lines of strings: ")
line_list = lines.splitlines()
with open("third_characters.txt", "w+") as file:
for line in line_list:
file.write(line[2])
file.write("\\")
Step-by-step explanation:
The python module gets the input of string values from the user and splits it into a list of strings. The third character on each string item is retrieved and saved in a document file named 'third_characters.txt' with each character on a single line.