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
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
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