:
Size: a a a
:
:
P
:
:
:
:
:
:
Б
Б
Б
Б
Б
Б
Б
Б
Б
from time import time
start = time()
index = 1
while True:
eqs = [index % i == 0 for i in range(1, 11)]
if False not in eqs:
print(f'Found in {time() - start} seconds! The number is: {index}')
break
index += 1
Б
from time import time
start = time()
index = 1
while True:
eqs = [index % i == 0 for i in range(1, 11)]
if False not in eqs:
print(f'Found in {time() - start} seconds! The number is: {index}')
break
index += 1