Sort by

recency

|

1680 Discussions

|

  • + 0 comments

    n = int(input()) for x in range(n): print(x*x)

  • + 0 comments
    n = int(input())
    
    for i in range(n):
        print(i**2)
    
  • + 0 comments

    n=int(input()) [print(i**2) for i in range(n)]

  • + 1 comment

    if name == 'main': n = int(input()) n = n-1 list_ = []

    while n>=0: list_.append(n) n = n-1

    ordened_list_ = sorted(list_)

    for x in ordened_list_: print( x**2 )

  • + 0 comments

    n = int(input()) i = 0 while i < n: print(i*i) i += 1