Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 107 - 2615_KEC
P. 107

    Submission Guidelines:
                     Code File:

                         o  Submit the Python file (.py) or a Colab notebook link.

                     Screen Recording:
                         o  Record the program output for different inputs (e.g., 3 rows, 5 rows).

                     Bonus Features:

                     Dynamic Symbols:
                         o  Allow the user to choose the symbol used in the pattern (e.g., #, @, *).

                     Custom Alignment:

                         o  Provide an option for left, center, or right alignment of the pyramid.
                     Interactive Mode:

                         o  Add a menu-driven interface to generate various patterns.

                     Tips for Success:

                     Test your program with small and large input values to ensure scalability.
                     Use consistent indentation and comments in your code for readability.

                     Handle edge cases, such as non-positive numbers or invalid inputs, using input validation.

                     Optional Enhancements:

                     Add color to the output using libraries like colorama.
                     Save the generated pattern to a text file for later reference.

                                                                                                     Hands-On Project  105

| 102 103 104 105 106 107 108 109 110 111 112 |