Professional Documents
Culture Documents
11
11
MIT CAMPUS
B.E. AERONAUTICAL ENGINEERING
GE 5161 - PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
END SEMESTER LAB EXAM –JULY 2021
3 Write a function to find the factorial of the given number. Using this function 25
write a program to check whether the given number is a strong number.If
the sum of factorial of the digits in any number is equal the given number
then the number is called as STRONG number.
Ex, in 145,1! +4! +5!= 1+24+120 = 145
4 Write a program to read a number as string display square of each individual 25
digit in a given number.
Eg: Input: 1234 Output: 14916, perform this operation for 'n' different
numbers.