Searching for PiComputer Science Level 2
This text file contains the first 10000 digits of pi. Let P equal the slice of pi represented by this file.
Let L be the longest string of consecutive identical digits in P. How many digits are in L?
Details and assumptions
For example, in this slice of pi: "3.1415926535897932384626433832", the longest string of consecutive identical digits is "33", and there are 2 digits in that string.