Good evening!
It has a file with numbers, saved in txt format, each number separated by space, there being a list with about 50 values in each line of the txt file (and more than 10,000 lines in the file): 78 34 85 67 96 197 etc.
I want to create a python program that compares 3 variables within the program with each line of the txt file. If the program reaches the end of all lines of the text file and does not find the 3 values, it will return the 3 search parameters in an output file, increment the variables in the loop and start over.
For example, the program starts running with variables 30 31 and 32. It will sweep line by line. If you reach the end of the last line of the text file and you have not found the 3 values, return those values in an output file and restarts the text file with the value of one of the incremented variables. If you find the 3 values before the end line of the file, stop the search, increment the variable and start the search in the first line of the file.