Computer Science, asked by bawanpher, 8 months ago

wap in pyhton script to check whether imputed number is a strong nu!ber or not​

Answers

Answered by Kaushikkalesh
2

sum1=0

num=int(input("Enter a number: "))

temp=num

while(num):

i=1

f=1

r=num%10

while(i<=r):

f=f*i

i=i+1

sum1=sum1+f

num=num//10

if(sum1==temp):

print("The number is a strong number")

else:

print("The number is not a strong number")

Note - The Code is in Python

Please Thank Me

Please Thank MeAnd Mark this as Brainliest

Similar questions