Created
May 9, 2018 15:34
-
-
Save LouisAmon/d9860dd2ac6eeb7e8a4ec433e8d4928c to your computer and use it in GitHub Desktop.
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 trigo(): | |
product = 1.0 | |
for counter in range(1, 1000, 1): | |
for dex in list(range(1, 360, 1)): | |
angle = radians(dex) | |
product *= sin(angle)**2 + cos(angle)**2 | |
return product | |
def sha(): | |
h = hashlib.sha1('secret') | |
for i in xrange(1000000): | |
h = h = hashlib.sha1(h.digest()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment