To accept 15 numbers one at a time and print it along with its square and cube python
Answers
Answered by
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