Hi,
Im guessing this is an easy piece of code, but i cant find the answer Im looking for anywhere.
I have 20 files each with a different a list of numbers (not all the same amount of numbers). Each file is called data-01.txt, data-02.txt... to data-20.txt.I need to open each file, do the same calculation on each file and print out all the results.
I was looking for a way to open each file by using a variable(i=1; i<=20; i++) rather than type in each, but can't seem to find one.
Any help please?