index
:
projecteuler
trunk
Project Euler solutions
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
029.py
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to '029.py')
-rw-r--r--
029.py
9
1 files changed, 9 insertions, 0 deletions
diff --git a/029.py b/029.py
new file mode 100644
index 0000000..0740911
--- /dev/null
+++ b/
029.py
@@ -0,0 +1,9 @@
+
+x = []
+
+for i in range(2, 101):
+ for j in range(2, 101):
+ x.append(i**j)
+
+print len(set(x))
+