tangled
alpha
login
or
join now
wish13yt.github.io
/
pistributed
0
fork
atom
Distributed and decentralized pi calculation
0
fork
atom
overview
issues
pulls
pipelines
fix
wish13yt.github.io
6 months ago
b2eedee7
26ec81bd
+2
-2
1 changed file
expand all
collapse all
unified
split
src
server
app.py
+2
-2
src/server/app.py
reviewed
···
51
51
try:
52
52
pilength = len(str(piresult))
53
53
print(pilength)
54
54
-
pilen = "Current Pi length is " + str(pilength)
54
54
+
pilen = "Current Pi length is " + str(pilength) + " digits!"
55
55
except:
56
56
pilen = "Current Pi length couldn't be calculated!"
57
57
-
piresult = "Current Pi count is " + piresult + " digits!"
57
57
+
piresult = "Current Pi count is " + piresult
58
58
except:
59
59
piresult = "picalc/pi.txt wasn't found on this web server. Sorry!"
60
60
if request.method == 'GET':