I am trying to execute a value module in python, but I am getting errors as I interpret the module as a string formatting constant, as far as I know. My initial assumption was to type, but then freezes.
val = pow(a,n,p) val = y1*val val = val % p
Are these two lines of code relevant to this question. Right now, when I run this, I get: TypeError: not all arguments converted during formatting of the line In the second line.
If I complete val with an integer and print it, then ... it takes a very long time to calculate.
I don't know much about python, I think I missed something simple, but what?
source share