Write a program of pyramid pattern in python - Pyramid Pattern program in python - Python Programs - Pattern programs in python By Vivek Bhardwaj March 19, 2023 Get link Facebook X Pinterest Email Other Apps Pyramid PatternOutput * *** ***** ****************Python Code:# pyramid patternn = 5for i in range(n): for j in range(n - i - 1): print(' ', end='') for k in range(2 * i + 1): print('*', end='') print('')Here is the Practical of the above program in Jupyter Notebook Comments
Comments
Post a Comment