S
sl33k
I'm trying project euler problem 3 and I've hit the wall with this
error. What could be the problem here?
l=[].... if num%i==0:
.... l.append(i)
.... i+=1
.... print max(l)
File "<stdin>", line 5
print max(l)
^
SyntaxError: invalid syntax
error. What could be the problem here?
l=[].... if num%i==0:
.... l.append(i)
.... i+=1
.... print max(l)
File "<stdin>", line 5
print max(l)
^
SyntaxError: invalid syntax