Page 117 - KEC Khaitan C8 Flipbook
P. 117

PROJECT NAME: Generate a Multiplication Table Using ‘While’ Loop

                 Software Used: Python Editor

                 Objective:

                 Develop a Python program to generate a multiplication table for an integer provided by the user,
                 using While loop.
                 Python Editors:

                    ∑  Pycharm (Desktop IDE)

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

                 Note: Ensure you log in with your school email ID for Colab access.


                 Step-by-Step Instructions: (Plan IPO)
                 Step  1   Input:

                              Accept the integer for which the multiplication table is required (dynamic-varies with
                              each user).

                 Step  2   Process:

                             Use a for loop to iterate from 1 to 10.

                             Multiply the given integer by each iteration number to compute the product.

                             Display the results in a formatted table.
                 Step  3   Output:

                             Directly display the table. Refer to the sample:













                  Code:




















                                                                                                 Hands-On Project  115
   112   113   114   115   116   117   118   119   120   121   122