diff --git a/README.md b/README.md index 77416c7..0395670 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ In the main file I first initalise an instance of the class PalindromeCounter. Then I iterate through the .txt files in the test_files folder and for each one: * I get the first two lines and store them into variables `start` and `finish` -* Use `chomp` on the second variable (because in the file there was a new line) +* Use `chomp` on the first variable (because in the file there was a new line) * Calculate the count of palindrome numbers in the range * Output the name of the file checked, the range and the count of palindromes.