start=int(input(“Enter the start value”))
stop=int(input(“enter the stop Value”))
for num in range(start,stop+1,1):
temp=num
sum=0
while(temp>0):
digit=temp%10
sum=sum+digit*digit*digit
temp=temp//10
if sum==num:
print(num)
start=int(input(“Enter the start value”))
stop=int(input(“enter the stop Value”))
for num in range(start,stop+1,1):
temp=num
sum=0
while(temp>0):
digit=temp%10
sum=sum+digit*digit*digit
temp=temp//10
if sum==num:
print(num)