Created
March 25, 2024 21:35
-
-
Save Rudxain/b1caa1de799c5d49f3528da08f16e60b to your computer and use it in GitHub Desktop.
arbitrary way to compute an "average"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def fn(x, n): | |
return (x/n + x*n) / 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment