Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 94 - 2615_KEC
P. 94

    PROJECT 2: Generate Even Number Series Using 'While' Loop

                      Software Used: Python Editor

                      Objective:
                      Develop a Python program (WAP) to generate and display a series of even numbers within a

                      range using While loop.
                      Platform: Any Python Editor

                      Pycharm (Desktop IDE)

                      Google Colab (Cloud-based platform, accessible via school email): https://colab.research.google.
                          com

                      Step-by-Step Instructions: (Plan IPO)

                      Step  1   Input:
                                    Accept the starting and ending values for the range from the user (dynamic-varies

                                   with each user).
                      Step  2   Process:

                                   Loop through the range and check for even numbers using the condition.

                      Step  3   Output:

                                   Store or directly display each even number. Refer to the sample:

                       Code:

                       92   Premium Edition-VIII

| 89 90 91 92 93 94 95 96 97 98 99 |