Modify the inefficient code in the Code tab so it can pass the tests.
mod(base, exp, k) ➞ (base**(2**exp)) % k mod(10, 1, 99 ) ➞ 1 mod(3, 2, 15 ) ➞ 6 mod(123, 20, 1234 ) ➞ 391
Try using loops.