diff options
Diffstat (limited to 'python/29-distinct_powers.py')
| -rw-r--r-- | python/29-distinct_powers.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/python/29-distinct_powers.py b/python/29-distinct_powers.py deleted file mode 100644 index 8957e43..0000000 --- a/python/29-distinct_powers.py +++ /dev/null @@ -1,8 +0,0 @@ -nums_range = range(2, 101) - -combinations = [] -for a in nums_range: - for b in nums_range: - combinations.append(a ** b) - -print(len(set(combinations))) |
