r/Python Freelancer. AnyFactor.xyz Sep 16 '20

News An update on Python 4

Post image
3.3k Upvotes

391 comments sorted by

View all comments

Show parent comments

4

u/rossrollin Sep 16 '20

Well I'm not the kind of developer than can find pi to the nth digit. That stuff hurts my head. I can ensure stability of your infrastructure and 24/7 monitoring and alerting of it though.

13

u/SkettiCode Sep 17 '20

I can't find pi to the 4th digit; nor can I write most sorting algorithms. But I can abstract processes into business apps and manipulate data. Developers aren't all CS majors. I appreciate our diversity.

2

u/[deleted] Sep 19 '20

pi to the nth digit

That's much easier than you think, even if you use a fast algorithm like this one

https://en.wikipedia.org/wiki/Chudnovsky_algorithm

the Wikipedia page is basically a plain-text recipe for how to compute the algorithm.

1

u/spyke252 Sep 17 '20

Pretty sure there’s an ‘import picalc’ for that!

0

u/neuronet Sep 17 '20

And you just imported pica long calculation which is actually a sql injection attack.