Skip to content

Commit

Permalink
Solve Growing Sequences in python
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Sep 27, 2023
1 parent fc3203f commit f11de2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions solutions/beecrowd/1146/1146.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import sys

first = True

for line in sys.stdin:
if first:
first = False
else:
print('')

x = int(line)
print(' '.join(str(item) for item in range(1, x + 1)), end='')

0 comments on commit f11de2c

Please sign in to comment.