Skip to content

Instantly share code, notes, and snippets.

@LouisAmon
Created May 9, 2018 15:34
Show Gist options
  • Save LouisAmon/d9860dd2ac6eeb7e8a4ec433e8d4928c to your computer and use it in GitHub Desktop.
Save LouisAmon/d9860dd2ac6eeb7e8a4ec433e8d4928c to your computer and use it in GitHub Desktop.
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