Computer Science, asked by surajshewaleparthsar, 4 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 list of numbers

Answers

Answered by gunjan089
0

Explanation:

answer in the attachment

Attachments:
Answered by pke3s1ha7
0

Answer:

size = int(input("Enter the size of list : "))

lst=[]

for i in range(0,size):

  item = int(input("Enter item:"))

  lst.append(item)

print("The smallest element in the list is:",max(lst))

print("The largest element in the list is:",min(lst))

Explanation:

Similar questions