Python 3 | Program to print double sided stair-case pattern
Below mentioned is the python 3 program to print the double sided stair case pattern.
Examples:
Input : 10 Output : * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Note : This code only works for even values of n.
Output:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
No comments:
Post a Comment
Your feedback is highly appreciated and will help us to improve our content.