Problem 029

git-svn-id: file:///srv/svn/euler@59 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
This commit is contained in:
Correl Roush 2010-05-03 23:42:56 +00:00
parent d9b2e17675
commit 793812b67b

10
e029.py Normal file
View file

@ -0,0 +1,10 @@
MAX = 100
numbers = []
for i in range(2, MAX + 1):
for ii in range(2, MAX + 1):
n = i**ii
if n not in numbers:
numbers.append(n)
print len(numbers)