Page 126 - KEC Khaitan C8 Flipbook
P. 126
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.
Evaluation Criteria
∑ Correctness of Output (50%):
o Does the program generate the correct pattern based on the input?
∑ Code Readability (25%):
o Is the code well-structured and commented?
∑ Bonus Features (25%):
o Are additional creative features implemented?
Optional Enhancements
∑ Add color to the output using libraries like colorama.
∑ Save the generated pattern to a text file for later reference.
124 Premium Edition-VIII

