The first part of my project is to create a loop in which it reads an unknown amount of text files. I am confused how to approach this as my past projects I have entered the entry of a file specifically e.g.
for line in open('text1.txt')
How do I make it so if there's e.g. 10 files generated while it checks my code my code will actually read through 10 files? I was thinking of
for line in range(0, _input_ + 1_
for line in open ???
But I have no luck figuring out what to do. Help would be highly appreciated, thanks :D