Page 111 - KEC Khaitan C8 Flipbook
P. 111

HANDS-ON PROJECT


                 PROJECT NAME: Generate Series Using ‘For’ Loop


                 Software Used: Python Editor
                 Objective:

                 Develop a Python program (WAP) to generate and display a series of even numbers within a
                 range using For 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