write a program to check whether number is Armstrong or not
Anonymous
n=153 s=0 t=n while n!=0: a=n%10 d=pow(a,3) s=s+d n=n%10 if s==t: print("armstrong number") else: print("not an armstrong number")
Check out your Company Bowl for anonymous work chats.