mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-10-06 05:39:30 +00:00
removed parentheses
This commit is contained in:
parent
8b4f4cdbce
commit
667bfc7063
|
@ -24,7 +24,7 @@ def lexical_order(max_number: int) -> Iterator[int]:
|
|||
if num > max_number:
|
||||
continue
|
||||
|
||||
yield (num)
|
||||
yield num
|
||||
if (num % 10) != 9:
|
||||
stack.append(num + 1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user