• + 0 comments

    array=[] n=int(input()) for i in range(n): i=int(input()) array.append(i) sum=0 for i in range(0,len(array)): sum=sum+array[i] print(sum)

    this is my code(python3) what is my mistake?it cant pass sample test cases

    this is my code (python3) what is my mistake in this code?it cant pass