📘 Class 11 Computer Science | Chapter 2 – Python Programming | Punjab Boards – New Book 2025
In this video, we solve a class activity from Chapter 2 of the new syllabus book for 1st Year Computer Science (ICS/FA-IT).
👉 The task is to write a Python program using a while loop that:
Prints all even numbers from 1 to 20
Counts the odd numbers in the same range
This example helps you understand the use of loops, conditions, and counters in Python — essential concepts for beginner programmers.
📌 Topics Covered:
While loop in Python
Even/Odd number check
Class activity solutions
Practice for board exams
🔔 Don’t forget to like, share, and subscribe for more solutions from the 1st Year Computer Science New Book 2025 (Punjab Boards).
On this page of the site you can watch the video online Python While Loop Program – Print Even & Count Odd Numbers | Class 11 Computer Science with a duration of hours minute second in good quality, which was uploaded by the user CS with Sir Iqbal 11 June 2025, share the link with friends and acquaintances, this video has already been watched 5,642 times on youtube and it was liked by 44 viewers. Enjoy your viewing!