Flake8 reports E999 SyntaxError
Flake8 reports E999 SyntaxError Question: I am unable to solve the flake8 SyntaxError and although the code executes just fine. Code without comments import math def answer(str_n): sume = ((str_n * (str_n + 1)) / 2) * math.sqrt(2) sume = int(sume) return sume def answer1(str_n): sume = 0 for i in range(str_n + 1): sume …