for line in linespi_string +line strip(print(pi_string[: "print(len(pi_string)the output shows that we do indeed have string containing pi to , , decimal places python has no inherent limit to how much data you can work withyou can work with as much data as your system' memory can handle note to run this program (and many of the examples that follow)you'll need to download the resources available at is your birthday contained in pii've always been curious to know if my birthday appears anywhere in the digits of pi let' use the program we just wrote to find out if someone' birthday appears anywhere in the first million digits of pi we can do this by expressing each birthday as string of digits and seeing if that string appears anywhere in pi_stringfilename 'pi_million_digits txtwith open(filenameas file_objectlines file_object readlines(pi_string 'for line in linespi_string +line rstrip( birthday input("enter your birthdayin the form mmddyy" if birthday in pi_stringprint("your birthday appears in the first million digits of pi!"elseprint("your birthday does not appear in the first million digits of pi "at we prompt for the user' birthdayand then at we check if that string is in pi_string let' try itenter your birthdatein the form mmddyy your birthday appears in the first million digits of pimy birthday does appear in the digits of pionce you've read from fileyou can analyze its contents in just about any way you can imagine