mirror of
https://github.com/correl/euler.git
synced 2024-11-27 19:19:50 +00:00
11 lines
182 B
Python
11 lines
182 B
Python
|
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)
|