Find Strong Number - Python Problem Solution

Find Strong Number

Python Problem Solution

Image by _Alicja_ from Pixabay


Python | Find Strong Numbers in given List of Numbers

Write a Python Program to find all the strong numbers among the given list of numbers. Write a function to find and return the factorial of a number. Use it to solve the problem.

Example of Strong Number:

N = 145=1!+4!+5! = 1+24+120 = 145

Hint: Sample list can be [145,375,100,2,10]

SOLUTION IN PYTHON
SHARE If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
Newer Posts Newer Posts Older Posts Older Posts

More posts

Comments

Post a Comment

Sponsored Content