filmov
tv
Python Program to Find Sum of Even & Product of Odd Digits of a Number - In Hindi
Показать описание
Python Program to Find Sum of Even & Product of Odd Digits of a Number - In Hindi
In this video, I have explained a program to find sum of Even & Product of Odd Digits of a given number. For Example if the given number is 15324 then we have to find sum of even numbers i.e. 2+4=6 and product of odd digits i.e. 1*5*3=15.
We will do Sum of Even & Product of Odd Digits of a Number program using While statement. While statement is used to execute a single statement or a block of statement n times till the condition is true. Every loop must contain three parts:
1. Initialization of counter variable.
2. Condition
3. Increment/Decrement of counter variable
While loop or any loop will work fine if all the three parts are there in the programs. If any one is missing the loop will not run properly.
#codeitup
#whileloop
#python
In this video, I have explained a program to find sum of Even & Product of Odd Digits of a given number. For Example if the given number is 15324 then we have to find sum of even numbers i.e. 2+4=6 and product of odd digits i.e. 1*5*3=15.
We will do Sum of Even & Product of Odd Digits of a Number program using While statement. While statement is used to execute a single statement or a block of statement n times till the condition is true. Every loop must contain three parts:
1. Initialization of counter variable.
2. Condition
3. Increment/Decrement of counter variable
While loop or any loop will work fine if all the three parts are there in the programs. If any one is missing the loop will not run properly.
#codeitup
#whileloop
#python
Python Program to Find Sum and Average of All Numbers entered by the User
Python Program to Calculate The Sum of List Numbers Without Using Built_in Functions
Python Program #1 - Find Sum of Numbers Entered by User
Sum of Two Numbers | Addition of 2 Nums | Python Example Program
Frequently Asked Python Program 16: Find Sum of Elements in the List
Python program to find the sum of digits in a number tutorial in English
Sum Of The First N Natural Numbers | Python Example
Python program to calculate sum of three number
Add Binary Strings | GFG POTD | 5 Minutes Code | GeeksForGeeks | DSA | Binary Sum
Find Sum Of A List Without Using sum() | Python Example
How to Sum of the First N Positive Integers in Python
Python program to find the sum of first n natural numbers tutorial
Solve any Series Program in Python
How to sum the first 100 numbers easily in Python #Shorts
Write a Python Program to Calculate Sum of Digits of a Number
Beginner Python Tutorial 81 - Nested While Loops to Calculate Sums
Sum of two numbers using Python - Python Programming
Frequently Asked Python Program 5: Find Sum Of Elements in an Array
Find the Sum of Natural Numbers using the Python Program.
Two Sum - Leetcode 1 - HashMap - Python
Python program to add two numbers #shorts #coding #programming
How to find the sum of all dictionary values in Python
Python program to find the sum of all odd numbers & product of all even numbers entered in the l...
Maximum Subarray - Amazon Coding Interview Question - Leetcode 53 - Python
Комментарии