Sort by

recency

|

3320 Discussions

|

  • + 0 comments
    string =' '
    for x in range(1,n+1):
        string += str(x)
    print(string)
    
  • + 0 comments

    For Python3

    n = int(input())
    
    print(*range(1, n+1), sep="")
    
  • + 0 comments

    if name == 'main': n = int(input()) print(*range(1 , n+1) , sep=' ')

  • + 0 comments

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

  • + 0 comments
    for i in range(n):
            print(i+1, end='')``