Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.217.123
Domains :
Cant Read [ /etc/named.conf ]
User : celfico1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
Demo /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
README
1009
B
-rw-r--r--
2013-05-12 03:32
beer.py
459
B
-rwxr-xr-x
2013-05-12 03:32
beer.pyc
703
B
-rw-r--r--
2026-05-08 17:31
beer.pyo
703
B
-rw-r--r--
2026-05-08 17:31
eqfix.py
6.16
KB
-rwxr-xr-x
2013-05-12 03:32
eqfix.pyc
4.52
KB
-rw-r--r--
2026-05-08 17:31
eqfix.pyo
4.52
KB
-rw-r--r--
2026-05-08 17:31
fact.py
1.11
KB
-rwxr-xr-x
2013-05-12 03:32
fact.pyc
1.14
KB
-rw-r--r--
2026-05-08 17:31
fact.pyo
1.14
KB
-rw-r--r--
2026-05-08 17:31
find-uname.py
1.18
KB
-rwxr-xr-x
2026-05-08 17:30
find-uname.pyc
1.47
KB
-rw-r--r--
2026-05-08 17:31
find-uname.pyo
1.47
KB
-rw-r--r--
2026-05-08 17:31
from.py
874
B
-rwxr-xr-x
2013-05-12 03:32
from.pyc
749
B
-rw-r--r--
2026-05-08 17:31
from.pyo
749
B
-rw-r--r--
2026-05-08 17:31
lpwatch.py
2.77
KB
-rwxr-xr-x
2013-05-12 03:32
lpwatch.pyc
2.54
KB
-rw-r--r--
2026-05-08 17:31
lpwatch.pyo
2.54
KB
-rw-r--r--
2026-05-08 17:31
makedir.py
510
B
-rwxr-xr-x
2013-05-12 03:32
makedir.pyc
732
B
-rw-r--r--
2026-05-08 17:31
makedir.pyo
732
B
-rw-r--r--
2026-05-08 17:31
markov.py
3.51
KB
-rwxr-xr-x
2013-05-12 03:32
markov.pyc
3.93
KB
-rw-r--r--
2026-05-08 17:31
markov.pyo
3.93
KB
-rw-r--r--
2026-05-08 17:31
mboxconvert.py
3.11
KB
-rwxr-xr-x
2013-05-12 03:32
mboxconvert.pyc
3.17
KB
-rw-r--r--
2026-05-08 17:31
mboxconvert.pyo
3.17
KB
-rw-r--r--
2026-05-08 17:31
morse.py
4.21
KB
-rwxr-xr-x
2013-05-12 03:32
morse.pyc
4.33
KB
-rw-r--r--
2026-05-08 17:31
morse.pyo
4.33
KB
-rw-r--r--
2026-05-08 17:31
newslist.doc
2.36
KB
-rwxr-xr-x
2013-05-12 03:32
newslist.py
11.17
KB
-rwxr-xr-x
2013-05-12 03:32
newslist.pyc
7.55
KB
-rw-r--r--
2026-05-08 17:31
newslist.pyo
7.55
KB
-rw-r--r--
2026-05-08 17:31
pi.py
888
B
-rwxr-xr-x
2013-05-12 03:32
pi.pyc
921
B
-rw-r--r--
2026-05-08 17:31
pi.pyo
921
B
-rw-r--r--
2026-05-08 17:31
pp.py
3.73
KB
-rwxr-xr-x
2013-05-12 03:32
pp.pyc
2.28
KB
-rw-r--r--
2026-05-08 17:31
pp.pyo
2.28
KB
-rw-r--r--
2026-05-08 17:31
primes.py
603
B
-rwxr-xr-x
2013-05-12 03:32
primes.pyc
921
B
-rw-r--r--
2026-05-08 17:31
primes.pyo
921
B
-rw-r--r--
2026-05-08 17:31
queens.py
2.19
KB
-rwxr-xr-x
2013-05-12 03:32
queens.pyc
2.95
KB
-rw-r--r--
2026-05-08 17:31
queens.pyo
2.95
KB
-rw-r--r--
2026-05-08 17:31
script.py
962
B
-rwxr-xr-x
2013-05-12 03:32
script.pyc
1.21
KB
-rw-r--r--
2026-05-08 17:31
script.pyo
1.21
KB
-rw-r--r--
2026-05-08 17:31
unbirthday.py
3.07
KB
-rwxr-xr-x
2013-05-12 03:32
unbirthday.pyc
2.93
KB
-rw-r--r--
2026-05-08 17:31
unbirthday.pyo
2.93
KB
-rw-r--r--
2026-05-08 17:31
update.py
2.69
KB
-rwxr-xr-x
2013-05-12 03:32
update.pyc
2.69
KB
-rw-r--r--
2026-05-08 17:31
update.pyo
2.69
KB
-rw-r--r--
2026-05-08 17:31
Save
Rename
#! /usr/bin/env python # Factorize numbers. # The algorithm is not efficient, but easy to understand. # If there are large factors, it will take forever to find them, # because we try all odd numbers between 3 and sqrt(n)... import sys from math import sqrt def fact(n): if n < 1: raise ValueError('fact() argument should be >= 1') if n == 1: return [] # special case res = [] # Treat even factors special, so we can use i += 2 later while n % 2 == 0: res.append(2) n //= 2 # Try odd numbers up to sqrt(n) limit = sqrt(n+1) i = 3 while i <= limit: if n % i == 0: res.append(i) n //= i limit = sqrt(n+1) else: i += 2 if n != 1: res.append(n) return res def main(): if len(sys.argv) > 1: source = sys.argv[1:] else: source = iter(raw_input, '') for arg in source: try: n = int(arg) except ValueError: print arg, 'is not an integer' else: print n, fact(n) if __name__ == "__main__": main()