Input Format
The first line contains an integer .
Output Format
Output the answer as explained in the task.

hackerrank printf function problem solution in python

Problem solution in python 2 programming language.

from __future__ import print_function
print(*range(1, input() + 1), sep="")

second solution 

from __future__ import print_function
map(lambda x: print(x + 1,end=''), range(input()))

Problem solution in python 3 programming language.

print(*range(1, int(input()) + 1), sep="")

second solution 

list(map(lambda x:print(x + 1, end=''), range(int(input()))))