n =int(input("Enter the number: "))
temp=1
k=0
a=0
sum=0
while sum<=n:
sum=temp+k
temp=sum
k=temp
if sum==n:
a=a+1
print(n,"is a fibonnaci number")
break
if a==0:
print(n,"is NOT a fibonacci number")
Enter the number: 99 99 is NOT a fibonacci number
num = int(input("Enter a number:"))
sum = 0
temp = num
while temp>0:
digit = temp%10
sum += digit ** 3
temp//=10
if num==sum:
print(num,"is an Armstrong number")
else:
print(num,"is not an Armstrong number")
Enter a number:153 153 is an Armstrong number