Sort by

recency

|

3520 Discussions

|

  • + 0 comments

    n = int(input()) i = 0

    while i < n: i += 1 print(i,end="")

  • + 0 comments

    Here is Print function solution - https://programmingoneonone.com/hackerrank-print-function-problem-solution-in-python.html

  • + 0 comments

    if name == 'main': n = int(input()) a = 1 for _ in range(n): print(_ + 1, end ="")

  • + 0 comments

    if name == 'main': n = int(input()) i =1 while i <= n: print(i, end="") i += 1

  • + 0 comments

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

    Efficient and Simple Code