aboutsummaryrefslogtreecommitdiff
path: root/challenge-004/zapwai/python/ch-1.py
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-004/zapwai/python/ch-1.py')
-rw-r--r--challenge-004/zapwai/python/ch-1.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/challenge-004/zapwai/python/ch-1.py b/challenge-004/zapwai/python/ch-1.py
new file mode 100644
index 0000000000..80d7d5aa1c
--- /dev/null
+++ b/challenge-004/zapwai/python/ch-1.py
@@ -0,0 +1,6 @@
+import os
+from mpmath import mp
+filename = os.path.basename(__file__)
+length = os.path.getsize(filename)
+mp.dps = length
+print(mp.pi)