Question: Must be in Python. Write a function that will take in three inputs: base, exponent, and divisor. The output would be the values of the
Must be in Python.


Write a function that will take in three inputs: base, exponent, and divisor. The output would be the values of the modulus operations such that when multiplied and then taken the modulus of the divisor, you will get the problem's remainder. The output should be a list data type. Function name should be modulus. Example: modulus(3,644,645) means 364 mod 645. The function's output would be [81, 396, 111] because those are the remainders used in finding the overall problem's remainder. See the screenshot below for further details. 614 3 mod C153 3 mod 695 7 2 i23 2 376 od C4S (369 )2(396 ) mod 645 m O mod s 3 mo 3614 mod 645
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
