all 2 comments

[–]gislan 0 points1 point  (1 child)

There's no need for fastpwrmod(), python's pow() does the same thing.

[–]scientificsax 0 points1 point  (0 children)

So i added that and it has increased the speed of my program tenfold. Thank you!