Computer Science, asked by Patrish7011, 8 months ago

To accept 15 numbers one at a time and print it along with its square and cube python

Answers

Answered by priyanshu6969
1

Answer:

#Python

Explanation:

for i in range(15):

a = int(input("enter value : "))

squared = a**2

cubed = a**3

print("squared :" ,squared)

print("cubed :" , cubed)

Similar questions
Math, 10 months ago