Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
int->str->int solution in Clear category for Armstrong Number Checking by U.V
def is_armstrong(num: int) -> bool:
n=str(num)
return num==sum(int(k)**len(n) for k in n)
Sept. 30, 2023
Comments: