aboutsummaryrefslogtreecommitdiff
path: root/python/wip/026-reciprocal_cycles.py
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-08-17 21:39:43 +0200
committerCharles <sircharlesaze@gmail.com>2019-08-17 21:39:43 +0200
commit3ffc76713f6db4c33f20588ce6896ea3c2bae2a7 (patch)
tree1025c801330f078e3a12da191f923ae8b6ddd81b /python/wip/026-reciprocal_cycles.py
parent9a65938232d1fa9e1afe9a6eb2de48d25ff738a6 (diff)
downloadproject_euler-3ffc76713f6db4c33f20588ce6896ea3c2bae2a7.tar.gz
project_euler-3ffc76713f6db4c33f20588ce6896ea3c2bae2a7.tar.bz2
project_euler-3ffc76713f6db4c33f20588ce6896ea3c2bae2a7.zip
wip directory for each language
Diffstat (limited to 'python/wip/026-reciprocal_cycles.py')
-rw-r--r--python/wip/026-reciprocal_cycles.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/wip/026-reciprocal_cycles.py b/python/wip/026-reciprocal_cycles.py
new file mode 100644
index 0000000..b502c9a
--- /dev/null
+++ b/python/wip/026-reciprocal_cycles.py
@@ -0,0 +1,5 @@
+from decimal import Decimal
+
+for i in range(1, 11):
+ # decimals = int(str(1/i)[2:])
+ print(d)