suqares=[] i=1 sum=0 while i<=100: i+=1 if i*3: sum=sum+i # print(i) suqares.append(i*3) # print(suqares.count()) print(suqares) # print(len(suqares)) print(sum)
suqares=[] i=1 sum=0 while i<=100: i+=1 if i*3: sum=sum+i # print(i) suqares.append(i*3) # print(suqares.count()) print(suqares) # print(len(suqares)) print(sum)