mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 01:56:26 +08:00
Project Euler problem 3 small fix (#631)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user