Skip to content

Commit

Permalink
Project Euler problem 3 small fix (TheAlgorithms#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandersLin authored and poyea committed Feb 9, 2019
1 parent 4c14ad9 commit 8d4d950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project_euler/problem_03/sol2.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
while(i*i<=n):
while(n%i==0):
prime=i
n/=i
n//=i
i+=1
if(n>1):
prime=n
Expand Down

0 comments on commit 8d4d950

Please sign in to comment.