Question: ICS 3 U Python Programming Evaluatio File Name: ICS 3 UcubeMe.py Write a function that takes as an argument, an integer number with

ICS3U Python Programming Evaluatio
File Name: "
ICS3UcubeMe.py"
Write a function that takes as an argument, an integer number with a maximum of 8 digits, and returns the sum of the cubes of the digits in the number
For Example:
215 would return 2**2**2+1**1**1+5**5**5=134
Write a program that accepts an integer number from the keyboard and then uses the function above to test if the inputted number has the property that the sum of its cubed digits equals the number itself.
For Example:
If the user input was 371 then that input would satisfy this property since 3**3**3+7**7**7+1**1**1=371
Allow you program to continue forever until an input of O is made. A simple "Yes" or "No" is sufficient as output in this program
 ICS3U Python Programming Evaluatio File Name: " ICS3UcubeMe.py" Write a function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!