Created
December 30, 2017 06:35
-
-
Save amulyakashyap09/a0194b9fe443385c190dbff93473a0b9 to your computer and use it in GitHub Desktop.
Print N times in Same line | Hackerrank
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == '__main__': | |
n = int(input()) | |
# print(*range(1, n+1)) | |
for i in range(1, n+1): | |
print(i, end='') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment