view problem29.py @ 14:49c96972949d default tip

#50 rewrite of solution
author Dominic Cleal <dominic@computerkb.co.uk>
date Mon, 01 Dec 2008 19:11:55 +0000
parents 0e08f4decf67
children
line wrap: on
line source

l = { }
for a in range(2, 101):
	for b in range(2, 101):
		l[a**b] = None
print len(l.keys())