2013-04-17 14:34:39 +08:00

9 lines
144 B
Python

lis = []
for i in xrange(2, 101):
for j in xrange(2, 101):
tmp = i ** j
if lis.count(tmp) == 0:
lis.append(tmp)
print len(lis)