题解 | #牛牛的四叶玫瑰数#
牛牛的四叶玫瑰数
http://www.nowcoder.com/practice/b1ee23676ad54919b50aa1a09da1704e
a,b =[int(x) for x in input().split()]
for x in range(a,b+1):
c=sum([int(x)**4 for x in str(x)])
if x==c:
print(x,end=" ")
牛牛的四叶玫瑰数
http://www.nowcoder.com/practice/b1ee23676ad54919b50aa1a09da1704e
a,b =[int(x) for x in input().split()]
for x in range(a,b+1):
c=sum([int(x)**4 for x in str(x)])
if x==c:
print(x,end=" ")
相关推荐