here is the link of my code
can u tell me what is the error in the code and how should i rectify it,
Playing_with_divisors_is_fun
@ankitkumarmbill1 thought it was a c++ code dont know much about python but maybe try removing #before temp and space between 1000000007 and mod=
I think there is some mistake in your logic , the correct is this one have done it only?
reference code (https://ide.codingblocks.com/s/266160)