Created
May 13, 2020 12:23
-
-
Save meet100ni/2d3a3fa760480232c017ecbee0788371 to your computer and use it in GitHub Desktop.
Print Function : HackerRank Solution
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()) | |
for i in range(n+1): | |
if i==0: | |
continue | |
print(i, end="") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
n = int(input())
for n in range(1,n+1):
print(n,end="")