# Searching for Pi

**Computer 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.14159265358979323846264**33**832", the longest string of consecutive identical digits is "33", and there are **2** digits in that string.