Advertisement
MKbear

Python_2

Jun 10th, 2022
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. from math import *
  2.  
  3.  
  4. def main(y):
  5. if y < 89:
  6. func_one = pow((50 * pow(y, 3)), 3)
  7. return func_one
  8. elif 89 <= y < 153:
  9. func_one = 24 + \
  10. 69 * pow((abs(pow(y, 3) - pow(y, 2) - 1)), 4)\
  11. + pow(floor(y), 7)
  12. return func_one
  13. elif y >= 153:
  14. func_one = 9 * (32 + 38 * pow(y, 3)) - \
  15. 89 * pow(log2(y + (pow(y, 3) / 89)), 4)
  16. return func_one
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement