Skip to content

Commit

Permalink
Create hackerRank_python_print.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Emperor-One authored Aug 17, 2023
1 parent 4df62b3 commit f4af2c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hackerRank_python_print.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def one_to_n(n):
for i in range(n):
print(i + 1, end='')


if __name__ == '__main__':
n = int(input())
one_to_n(n)

0 comments on commit f4af2c5

Please sign in to comment.