As stated in the specifications of the problem :
The iterate_pagerank function should accept a corpus of web pages and a damping
factor, calculate PageRanks based on the iteration formula described above,
and return each page’s PageRank accurate to within 0.001.
If it adds up to 1.0001 don't worry that's just a rounding issue.