Question: My professor says the answer to my code should be 2 but I am confused can someone help me once more, this is my second
My professor says the answer to my code should be 2 but I am confused can someone help me once more, this is my second time asking for help and I feel so discouraged because I am not understanding the problem. i have shortened down the code like my professor asked but I am still getting 10 instead of 2. please help me :(

3. (15) Create a function called most_consecutive_digits which will take as input a path to a file and will return the length of the longest consecutive sequence of digits in the file. The re module could be of use here, the findall function in particular
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
