Search found 1 match
- Sat Jul 02, 2011 6:14 am
- Forum: Challenges Solved
- Topic: Pi Hates Nines
- Replies: 26
- Views: 3343
My python solution
pi = open('pi.txt', 'r').read().split('9') y = map(lambda x: len(x), pi) print(pi[y.index(max(y))]) Pi.txt is a text file containing pi to a million decimal places. Found the number at 3.141592653589793238462643383279502884197169399375105820974944592.com, copy pasted into a text file and used vim t...