diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,18 +5,20 @@
 import bisect
 import itertools
 import functools
+
+
 class Solution:
     def powerfulIntegers(self, x: int, y: int, bound: int) -> List[int]:
-        if bound = 0:
+        if bound == 0:
             return []
-        
+
         def get(v):
             yield 1
-            if v = 1:
+            if v == 1:
                 return
             vi = v
             while vi <= bound:
                 yield vi
                 vi *= v
-        
-        return list({xi + yi for xi in get(x) for yi in get(y) if xi + yi < bound})
+
+        return list({xi + yi for xi in get(x) for yi in get(y) if xi + yi <= bound})
