0
Does ** operator in python have any limitations as the code below isn't printing anything at all
x=(2296922+2297922+2298922)%1000000007 n=(2295922**x)%1000000007 print(n)
2 Réponses
+ 1
Its memory problem actually your x value goes into million and you try to power it to million .it will make a huge time & memory consuming process
0
Sk. Ahmed Razha Khan Python can't handle this big a calculation. I can't think of a situation in which such a big calculation will be necessary.