File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ dist /
2
+ * .egg-info /
Original file line number Diff line number Diff line change 11
11
Decimal gives the Decimal data type which is much better than Float
12
12
sys is needed to set the depth for recursion.
13
13
"""
14
+ from __future__ import print_function
14
15
import math , sys
15
16
from decimal import *
16
17
getcontext ().rounding = ROUND_FLOOR
17
18
sys .setrecursionlimit (100000 )
18
- if sys .version_info [0 ] == 2 :
19
+
20
+ python2 = sys .version_info [0 ] == 2
21
+ if python2 :
19
22
input = raw_input
20
23
21
24
def factorial (n ):
Original file line number Diff line number Diff line change 7
7
8
8
setup (
9
9
name = "PythonPi" ,
10
- version = '1.0.0 ' ,
10
+ version = '1.0.2 ' ,
11
11
author = 'Pradipta Bora' ,
12
12
author_email = '[email protected] ' ,
13
13
description = "Get the Value of Pi upto as many decimal places as needed" ,
You can’t perform that action at this time.
0 commit comments