Answer:
Check the explanation
Step-by-step explanation:
we can now create a file named simple.txt which contains two lines of text
below is the solution to the question:
def file_listers(filename,strlist):
name=raw_input(filename)
file = open(file, 'w')
with file as ≠:
for i in range(0, len(strlist) ):
f.write(strlist[i]+"\\")
file. close();