Strong Number Program in Python || Using while loop || CodeWithCoder

Published: 10 February 2022
on channel: CodeWithCoder
3,345
275

#strongnumberprograminpython #strongnumberinpython #CodeWithCoder

In this video I have discus about how to check number is strong number or not using while loop in python language.

Link :
Storng number using for loop -    • Strong Number Program in Python || Check w...  

This video code: (copy paste)

num=int(input("Enter the number: "))
temp=num
add=0
while(num):
r=num%10 #1%10=1
fact=1
while(r):
fact=fact*r
r=r-1
add=add+fact
num=num//10 #1//10=0
if add==temp:
print(temp,"is a strong number.")
else:
print(temp,"is not a strong number.")

follow me:
Instagram: code_withcoder


On this page of the site you can watch the video online Strong Number Program in Python || Using while loop || CodeWithCoder with a duration of hours minute second in good quality, which was uploaded by the user CodeWithCoder 10 February 2022, share the link with friends and acquaintances, this video has already been watched 3,345 times on youtube and it was liked by 275 viewers. Enjoy your viewing!