HackerRank- Python Print Function




Problem 7:

Read an integer N and print 123...N



  1. if __name__ == '__main__':
  2. n = int(input())
  3. for i in range(1, n+1):
  4. print(i, end='')




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube