From 8d4d95099f6715b42361dcb2f4913018aa830ad2 Mon Sep 17 00:00:00 2001 From: Sanders Lin <45224617+SandersLin@users.noreply.github.com> Date: Sun, 10 Feb 2019 00:35:52 +0800 Subject: [PATCH] Project Euler problem 3 small fix (#631) --- project_euler/problem_03/sol2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project_euler/problem_03/sol2.py b/project_euler/problem_03/sol2.py index cbef08e26..44f9c63df 100644 --- a/project_euler/problem_03/sol2.py +++ b/project_euler/problem_03/sol2.py @@ -11,7 +11,7 @@ i=2 while(i*i<=n): while(n%i==0): prime=i - n/=i + n//=i i+=1 if(n>1): prime=n