Summary
Keywords
Full Transcript
Python Program to find Sum of Even Numbers from 1 to N - In Hindi - Tutorial#19 In this video, I have explained a program to find sum of all the even numbers from 1 to N. This is a basic program to find sum of even numbers from 1 to N. While loop is the basic looping system in Python Programming. Natural Numbers start with 1 and it goes up to N. We have to print the sum of all even numbers from 1 to a N (given by the user). Looping/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. Link to Previous Video: https://youtu.be/rBGH_GAkr5I Link to Next Video: https://youtu.be/8s38WPdRN-0 Facebook Group: https://www.facebook.com/groups/2167344556716563/?ref=bookmarks Facebook Page: https://www.facebook.com/Codeitup-104310264625489/ Website: https://codeitup.in Tags Used: python,programming python tutorial python tutorial for beginners in hindi python in hindi python for beginners programming fundamentals python loops tutorial while loop in python python looping program python programming exercise python programs program find sum from harshit vashisth python telusko python even number even numbers Python Program to find Sum of Even Numbers from 1 to N #codeitup #whileloop #python
