Professional Documents
Culture Documents
Problem Solution
1. Take in the upper range and lower range limit from the user.
2. Take in the number to be divided by from the user.
3. Using a for loop, print all the factors which is divisible by the number.
4. Exit.
Q5. Write a program to take in the Marks of 5 Subjects and Display the Grade:
Q6. Write a program to Read Two Numbers and Print Their Quotient and Remainder.
Q7. Write a program to Accept Three Digits and Print all Possible Combinations from the Digits:
Problem Solution
1.Take in the first, second and third number and store it in separate variables.
2.Then append all the three numbers to the list.
3.Use three for loops and print the digits in the list if none of their indexes are equal to each
other.
4. Exit.
Problem Solution
UTKARSH SHARMA
Machine Learning EXPERT
+91-8010-5055-07
Sharma.utkarsh012@gmail.com
Q10. Write a Program to Check if a Number is a Palindrome?
Problem Solution
Q11. Write a Program to Print all Integers that Aren’t Divisible by Either 2 or 3 and Lie between
1 and 50 .
Problem Solution
Q12. Write a Program to Read a Number n and Print the Natural Numbers Summation Pattern
Problem Solution
UTKARSH SHARMA
Machine Learning EXPERT
+91-8010-5055-07
Sharma.utkarsh012@gmail.com