Finally caught the pipe error for bad processes... they can all run and catch the response

This commit is contained in:
Remi Ehounou
2021-04-05 19:05:45 -04:00
parent 5d6490f734
commit 0bc7c66fb1
2 changed files with 39 additions and 10 deletions

View File

@ -0,0 +1,6 @@
def main(args):
result = 0
for i,x in enumerate(args[1:-1]):
result += (x**2)**(args[i+1]**2+1) + (args[i+1]**2)**(x**2 + 1)
return result