Dec-01-2019, 06:25 PM
Ok now im close maybe. I got it to generate something like this.
With this code. But its still not right.
Quote:7-1-1234
8-2-
9-3-
10-4-
11-5-
12-6-
13-7-1234
With this code. But its still not right.
value1 = (1234) value2 = (7) value3 = (7) for parts in range(value2): print("{}-{}".format(parts + value3, 1+parts) + '-{}\n'.format((value1) if parts in [0, value2 - 1] else ''))It should look like this.
Quote:7-1-1234
8-2
9-3
10-4
11-5
12-6
13-7-1234