print("\n# CHAP04 -- Script-SAMPLE 04: =========") a = 87; m = 103 exp = [2, 4, 8, 16, 32, 43] print( [power_mod(a, e, m) for e in exp] ) #------------------------------------ # CHAP04 -- Script-SAMPLE 04: ========= [50, 28, 63, 55, 38, 85]