You are viewing a single comment's thread. Return to all comments →
n=int(input()) for n in range(1,n+1): print(n,end="")
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Print Function
You are viewing a single comment's thread. Return to all comments →
n=int(input()) for n in range(1,n+1): print(n,end="")