Print Function Hackerrank Solution Python
For Explanation Watch Video:
Sample Input 0
3
Sample Output 0
123
Code:
if __name__ == '__main__':
n = int(input())
for i in range(1,n+1):
print(i,end='')
Sample Input 0
3
Sample Output 0
123
Comments
Post a Comment