1.

Write a program in python to calculate the sum of this series:S: 1*2+3*4+5*6+...+n*(n+1) Read the value of n from the user, it should be odd number. Print the series and the calculated sum using for loop.Example of running: Enter n: 51*2+3*4+5*6=44

Answer»

ANSWER:

oeoeiwoeoeoodododododokdodofofoofofofofpg



Discussion

No Comment Found