Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Python Program to Print Even Numbers from 1 to N - In Hindi
Play lesson

Complete Python Tutorial in Hindi - Python Program to Print Even Numbers from 1 to N - In Hindi

4.0 (1)
15 learners

What you'll learn

This course includes

  • 34.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Python Program to Print Even Numbers from 1 to N - In Hindi - Tutorial#18 In this video, I have explained a program with while loop to print even numbers among first n natural numbers in python. This is a basic program to print only even numbers from 1 to N using while loop. While loop is the basic looping system in Python Programming. Natural Numbers start with 1 and it goes upto N. We have to print all the 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/DdpjSNH27pA 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 in hindi python for beginners programming fundamentals program to print even numbers from 1 to n python loops tutorial,while loop in python python looping program python program even or odd first 10 even numbers print even and odd numbers from 1-10 using while loop print even and odd number using while loop print the even number using while loop Python Program to Print Even Numbers from 1 to N - In Hindi #codeitup #whileloop #python

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere