print out all 4-digit numbers
()
| 13 | |
| 14 | # Same as above but more pythonic |
| 15 | def one_line_combinations(): |
| 16 | """print out all 4-digit numbers""" |
| 17 | numbers = [str(i).zfill(4) for i in range(10000)] |
| 18 | print(numbers) |
nothing calls this directly
no outgoing calls
no test coverage detected