blob: 39c08196ca261971975b0817a5e26ee27efb9cb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/env python
# this is part of the subproc.py example
from __future__ import annotations
import sys
num = int(sys.argv[1])
for c in range(1,10000000):
if num % c == 0:
print("factor:", c)
|