2 deleted 1 characters in body
source | link

Python: 5958

n=input()
for i in range(2,n+1):
 while n%i==0n%i<1:print i;n/=i

Python: 59

n=input()
for i in range(2,n+1):
 while n%i==0:print i;n/=i

Python: 58

n=input()
for i in range(2,n+1):
 while n%i<1:print i;n/=i
1
source | link

Python: 59

n=input()
for i in range(2,n+1):
 while n%i==0:print i;n/=i