Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Armstrong Number Checking by Pactp
is_armstrong = lambda num: num == sum(map(lambda x: x**len(str(num)),map(int,str(num))))
Oct. 4, 2023
Comments: