home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 28
/
Freelog028.iso
/
Prog
/
Pi.pyc
(
.txt
)
< prev
Wrap
Python Compiled Bytecode
|
2001-08-30
|
649b
|
20 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.1)
pi = 3.14159265485
numerateur = 1.0
denominateur = 1.0
result = 0.0
def quotient(a, b):
result = a / b
return result
for i in range(0, 10):
if result > pi:
denominateur = denominateur + 1
quotient(numerateur, denominateur)
print result