write a Python program to 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
0
Answer:
a = input()
first = int(a)
b = input()
second = int(b)
c = input()
third = int(c)
d = input()
fourth = int(d)
if a > b or a > c or a > d:
print ('the larges number' + a)
elif a < b or a < c or a < d:
print ('the smallest number' +a )
elif b > a or b > c or b > d:
print ('the larges number' + b)
elif b < a or b < c or b < d:
print ('the smallest number is' + b )
elif d > a or d > b or d > c:
print ('the biggest number is' + d )
elif d < a or d < b or d < c:
print ('the smallest numbet is'+ d)
else:
Explanation:
mark me brainlest
Similar questions
Science,
2 months ago
Geography,
2 months ago
Hindi,
2 months ago
Social Sciences,
5 months ago
Social Sciences,
5 months ago
English,
10 months ago