How do i calculate answer in mod 10^9+7 | Sololearn: Learn to code for FREE!

0

How do i calculate answer in mod 10^9+7

12/31/2018 12:52:15 PM

Aaditya Jaiswal

1 Answer

New Answer

+7

Guess that a good old print((10**9+7)%a) will get you the result modulo a....