Run
base = 5 exp = 3 mod = 10 result = pow(base, exp, mod) print(f'{base} to the power of {exp}, % {mod} is {result}.')
Output