## Sum of Digit of a Number Without Recursion in Python

This is a Python Program to find the sum of digits in a number without using recursion. Problem Description The program takes a number and finds the sum of digits without using recursion. Problem Solution 1. Take a number from the user. 2. Using a while loop, obtain each digit and append it to the … Read more

## Python Program to Print Binary Equivalent of a Number without Using Recursion

This is a Python Program to find the binary equivalent of a number without using recursion. Problem Description The program takes a number and finds the binary equivalent of the number without using recursion. Problem Solution 1. Take a number from the user. 2. Using a while loop, convert each digit into binary and append … Read more

## Sum of Digit of a Number using Recursion in Python

This is a Python Program to find the sum of the digits of the number recursively. Problem Description The program takes a number and finds the sum of the digits of the number recursively. Problem Solution 1. Define a recursive function which takes a number as the argument. 2. Take a number from the user … Read more

## Python Program to Print Binary Equivalent of an Integer using Recursion

This is a Python Program to find the binary equivalent of a number recursively. Problem Description The program takes a number and finds the binary equivalent of a number recursively. Problem Solution 1. Define a recursive function which takes a number as the argument. 2. Take a number from the user and pass it as … Read more

## Python Program to Check if a Number is Odd or Even

Problem Description Write a Python Program to check whether a given number is even or odd. What is an Even Number? An even number is an integer that is divisible by 2 without leaving a remainder, such as 2, 4, 6, 8, 10, and so on. What is an Odd Number? An odd number is … Read more

## Python Program to Find Numbers which are Divisible by 7 and Multiple of 5 in a Given Range

This is a Python Program to find those numbers which are divisible by 7 and multiple of 5 in a given range of numbers. Problem Description The program takes an upper range and lower range and finds those numbers within the range which are divisible by 7 and multiple of 5. Problem Solution 1. Take … Read more

## Python Program to Print All Possible Combinations of Three Digits

This is a Python Program to accept three distinct digits and print all possible combinations from the digits. Problem Description The program takes three distinct numbers and prints 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 … Read more

## Python Program to Find All the Divisors of an Integer

This is a Python Program to generate all the divisors of an integer. Problem Description The program takes a number and generates all the divisors of the number. Problem Solution 1. Take the value of the integer and store it in a variable. 2. Use a for loop and if statement to generate the divisors … Read more

## Python Program to Print Table of a Given Number

This is a Python Program to print the table of a given number. Problem Description The program takes in a number and prints the table of a given number. Problem Solution 1. Take in a number and store it in a variable. 2. Print the multiplication tables of a given number. 3. Exit. Program/Source Code … Read more 