Skip to content

Commit f427590

Browse files
Merge pull request #245 from NaeemSheikh/patch-1
minor fix to function oneLineCombinations()
2 parents 54c9006 + 4ffa02e commit f427590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4 Digit Number Combinations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ def FourDigitCombinations():
88

99
# Same as above but more pythonic
1010
def oneLineCombinations():
11-
numbers = list(map(lambda x: str(x).zfill(4), [i for i in range(1000)]))
11+
numbers = list(map(lambda x: str(x).zfill(4), [i for i in range(10000)]))
1212
print(numbers)

0 commit comments

Comments
 (0)