0
I want to out put please help
sum programme a='''1,2,3,4,5 6,7,8,9,10 11,12,13,14''' ____________________ out put 18,21,24,27,15
3 Answers
+ 12
â make group of elemnets having index with a gap of 5 .
like a[0], a[5], a[10] will be summed up //x=0
then a[1], a[6], a[11] will be summed up //x=1
& so on
â run outer loop for (total no. of elements)/(no. of rows)
//here 5 (increasing value of a by 1 each time loop runs & value of a will be assigned to x)
â run inner loop for (total no. of elements)/(no. Of columns)
//here 3 (increasing value of x by 5 in each iteration)
+ 3
Harish Chandan Chavan Please, SL its a place where you can get help but dont expect that someone make your homeworks for you... Gaurav Agrawal have given you a procedure for get it work, try to develop it and if you have problem, post your attempt
0
could you please send me code