I'm currently learning Python, and practice with euler's problem's. I'm stuck on 3rd problem, my code didn't working on the big numbers, but with other number's it's working.
n = 600851475143
x = 0
for i in range(2,n):
if(n%i == 0):
if(x < i): x = i
print(x)
The console just didn't get any results and stucks. P.S https://projecteuler.net/problem=3
(sorry for my bad english)