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