Computer Science, asked by komalagrawal15092004, 6 hours ago

write a program to print cubes of numbers in the range 15 to 20 in python but use math module and not the range method ​

Answers

Answered by manishajadhao251
3

Answer:

Python Program to Calculate Cube of a Number

Write a Python Program to Calculate the Cube of a Number using Arithmetic Operators and Functions with an example.

Python Program to find Cube of a Number

This Python program allows users to enter any numeric value. Next, Python finds a Cube of that number using an Arithmetic Operator.

Answered by riyaenterprises012
0

Explanation:

Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term.

Examples:

Input : n = 5

Output : 225

13 + 23 + 33 + 43 + 53 = 225

Input : n = 7

Output : 784

13 + 23 + 33 + 43 + 53 +

63 + 73 = 784

Similar questions