diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -5,15 +5,18 @@
 import bisect
 import itertools
 import functools
+
+
 class Solution:
-def sequentialDigits(self, low, high):
-    out = []
-    queue = deque(range(1,11))
+    def sequentialDigits(self, low, high):
+        out = []
+        queue = deque(range(1, 10))
         while queue:
             elem = queue.popleft()
             if low <= elem <= high:
                 out.append(elem)
             last = elem % 10
-        if last < 9: queue.append(elem*10> + last + 1)
-                    
-    return out
+            if last < 9:
+                queue.append(elem * 10 + last + 1)
+
+        return out
