Few more problems

This commit is contained in:
MitchellHansen
2017-04-23 22:19:11 -07:00
parent 13a163e81d
commit b3831fb360
6 changed files with 172 additions and 7 deletions

12
problem_29.py Normal file
View File

@@ -0,0 +1,12 @@
import itertools
set_list = set()
permutation_list = list(itertools.product(range(2, 101), range(2, 101)))
for i in permutation_list:
set_list.add(pow(i[0], i[1]))
print(len(set_list))