Edited Problem 3

This commit is contained in:
Lauchmelder23 2018-10-09 20:25:40 +02:00
parent b77c8eec09
commit 205f4bd4ad

View file

@ -9,7 +9,6 @@ primes = [1]
original = 600851475143
for x in range(1, int(original / 2)):
print(x)
tester = 600851475143
for prime in primes:
tester /= prime
@ -21,5 +20,5 @@ for x in range(1, int(original / 2)):
primes.append(x)
original /= x
print("{}".format(primes))
print("{}".format(primes[len(primes) - 1]))
# Solution: 6857