Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- def func(n):
- result = (-10303.0 / 9979200.0) * math.pow(n, 11) + (4073.0 / 64800.0) * math.pow(n, 10) - \
- (67169.0 / 40320.0) * math.pow(n, 9) + (108929.0 / 4320.0) * math.pow(n, 8) - \
- (36326569.0 / 151200.0) * math.pow(n, 7) + (32342993.0 / 21600.0) * math.pow(n, 6) - \
- (445599449.0 / 72576.0) * math.pow(n, 5) + (210189113.0 / 12960.0) * math.pow(n, 4) - \
- (3951504773.0 / 151200.0) * math.pow(n, 3) + (20582609.0 / 900.0) * math.pow(n, 2) - \
- (12420907.0 / 1540.0) * n + 72
- return round(result)
- for i in range(0, 12):
- print(chr(func(i)), end="")
Advertisement
Add Comment
Please, Sign In to add comment