This commit is contained in:
Remi Ehounou
2021-04-19 09:38:40 -04:00
parent bff340453f
commit 9dd8ccf35a
8 changed files with 143 additions and 4 deletions

View File

@ -0,0 +1,8 @@
#Import math library
def main(args):
for x in args:
if x < -1.2 or x > 1.2:
return 0
return (100*(args[1]-args[0])**2)+(1-args[0])**2