Sort by

recency

|

3303 Discussions

|

  • + 0 comments

    n = int(input()) nums = list(range(1, n + 1)) result = ''.join(map(str, nums))

    print(result)

  • + 0 comments
    if __name__ == '__main__':
        n = int(input())
        
        for i in range(1, n+1):
            print(i, end="")
    
  • + 0 comments
    for i in range(1, n+1):
        print(i, sep='', end='')
    
  • + 0 comments

    f name == 'main': n = int(input()) for i in range(1,4): print(i, end = "")

    that is working properly becausse we need starting from 1 to end before 4 and it give us 123

  • + 0 comments

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