Answers ( 2 )

  1. sum=0
    for i in range(1, 13):
    sum=sum+i
    print(sum)

    Best answer
  2. sum =0
    for k in range(1,13):
    sum = sum + k
    print(sum)

  3. sum=0
    for i in range(1,13):
    sum+=i
    print(sum)

Leave an answer

Browse
Browse