You are viewing a single comment's thread. Return to all comments →
t = int(input().strip()) for a0 in range(t): n = int(input().strip()) num = 0 while True: num += 1 isOutput = True for i in range(1, n + 1): if num % i != 0: isOutput = False break if isOutput: break print(num)
Project Euler #5: Smallest multiple
You are viewing a single comment's thread. Return to all comments →
python 3