How can I do this exercise?
"Write a program that given a text file, a delimiter, and a list of fields, print only these fields, separated by this delimiter. "
At the moment I have this:
f=open("archivo.txt","r")
delimitador=str("-")
lista=['Hola','Adios','Hoy']