Instagram
youtube
Facebook
Twitter

Python Program to Print Solid Rhombus (Right Inclined)

A Python Program to Print Solid Rhombus (Right Inclined)?

Code Explanation:

● A for loop runs 5 times to create 5 rows.

● Each row prints exactly 5 stars using "*****".

● No space or alignment is added.

● All rows are the same.

● Output is a solid 5x5 star block.

 

Program:

for i in range(5):

    print("*****")