HackerRank Print Function Problem Solutions

Author: Al-mamun Sarkar Date: 2020-03-23 15:09:08

HackerRank Print Function Problem Solutions. Click here to see the problem.

Code:

from __future__ import print_function

if __name__ == '__main__':
    n = int(input())
    for i in range(1, n+1):
        print(i, sep='', end='')

Test Input;

3

Test Output:

123