Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python27 /
lib64 /
python2.7 /
Demo /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
README
1009
B
-rwxr-xr-x
2025-01-08 14:12
beer.py
468
B
-rwxr-xr-x
2025-01-08 14:12
eqfix.py
6.17
KB
-rwxr-xr-x
2025-01-08 14:12
fact.py
1.12
KB
-rwxr-xr-x
2025-01-08 14:12
find-uname.py
1.19
KB
-rwxr-xr-x
2025-01-08 14:12
from.py
883
B
-rwxr-xr-x
2025-01-08 14:12
lpwatch.py
2.78
KB
-rwxr-xr-x
2025-01-08 14:12
makedir.py
519
B
-rwxr-xr-x
2025-01-08 14:12
markov.py
3.51
KB
-rwxr-xr-x
2025-01-08 14:12
mboxconvert.py
3.12
KB
-rwxr-xr-x
2025-01-08 14:12
morse.py
4.22
KB
-rwxr-xr-x
2025-01-08 14:12
pi.py
897
B
-rwxr-xr-x
2025-01-08 14:12
pp.py
3.73
KB
-rwxr-xr-x
2025-01-08 14:12
primes.py
612
B
-rwxr-xr-x
2025-01-08 14:12
queens.py
2.2
KB
-rwxr-xr-x
2025-01-08 14:12
script.py
971
B
-rwxr-xr-x
2025-01-08 14:12
unbirthday.py
3.08
KB
-rwxr-xr-x
2025-01-08 14:12
update.py
2.69
KB
-rwxr-xr-x
2025-01-08 14:12
Save
Rename
#! /opt/alt/python27/bin/python # Print digits of pi forever. # # The algorithm, using Python's 'long' integers ("bignums"), works # with continued fractions, and was conceived by Lambert Meertens. # # See also the ABC Programmer's Handbook, by Geurts, Meertens & Pemberton, # published by Prentice-Hall (UK) Ltd., 1990. import sys def main(): k, a, b, a1, b1 = 2, 4, 1, 12, 4 while True: # Next approximation p, q, k = k*k, 2*k+1, k+1 a, b, a1, b1 = a1, b1, p*a+q*a1, p*b+q*b1 # Print common digits d, d1 = a//b, a1//b1 while d == d1: output(d) a, a1 = 10*(a%b), 10*(a1%b1) d, d1 = a//b, a1//b1 def output(d): # Use write() to avoid spaces between the digits sys.stdout.write(str(d)) # Flush so the output is seen immediately sys.stdout.flush() if __name__ == "__main__": main()