Page 113 - KEC Khaitan C8 Flipbook
P. 113

PROJECT NAME: 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:





























                                                                                                 Hands-On Project  111
   108   109   110   111   112   113   114   115   116   117   118