Computer Science, asked by Aryan1179, 2 months ago

Input a list of numbers and test if a number is equal to the sum of the cubes of its digits. Find the smallest and largest such number from the given list of numbers.

Answers

Answered by itsesarthak
0

Answer:

The requirements are:

To write a function to check if given number is equal to the sum of the cubes of its digits.

To receive input numbers in the form list and making a new list of numbers which qualify the condition

Print max and minimum value in the new list

Output:

List of qualified numbers: [153, 407]

Max: 407

Min: 153

Upvote if you agree !

Similar questions