# -*- coding: utf-8 -*- """ fill up with the appropriate code the non completed lines @authors: katkaranikola stkarlos """ #compute the S1 = 1 + 12 + 23 + .... + 1123 S1 = 0 for i in range( , ): S1 = S1 + print "S1 = ", S1 #compute the S2 = 4*5*6 + + 6*7*8 + .... + 20*21*22 S2 = 0 for i in range( , ): S2 = S2 + print "S2 = ", S2 #compute the S3 = 2^-5 + + 5^-1 + .... + 17^15 S3 = 0 j = for i in range( , ): S3 = S3 + j = print "S3 = ", S3 #compute the P1 = 1*4*7*...*37 + 9999 P1 = 1 for i in range( , ): P1 = P1 * print "P1 = ", P1