Skip to content

Instantly share code, notes, and snippets.

@meet100ni
Created May 13, 2020 12:23
Show Gist options
  • Save meet100ni/2d3a3fa760480232c017ecbee0788371 to your computer and use it in GitHub Desktop.
Save meet100ni/2d3a3fa760480232c017ecbee0788371 to your computer and use it in GitHub Desktop.
Print Function : HackerRank Solution
if __name__ == '__main__':
n = int(input())
for i in range(n+1):
if i==0:
continue
print(i, end="")
@KananiP007
Copy link

n = int(input())
for n in range(1,n+1):
print(n,end="")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment