Verify the 1/pi generator from Ramanujan up to 1000 digits with Python

Verify Ramanujan’s 1/PI generator from up to 1000 digits with the language of your choice, that was the Programming Challenge announced by O’Reilly OST to celebrate this year’s PI…