Page 111 - 2627_Trackpad Pro_C-8
P. 111

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  109
   106   107   108   109   110   111   112   113   114   115   116