Posts

Python Pattern Programs | All Numeric Pattern in One Shot- 0 to 9

Image

Python Pattern Programs | Printing Stars '*' in 9 Shape

Image

Python Pattern Programs | Printing Stars '*' in 8 Shape

Image
Source code for row in range(7):     for col in range(5):         if ((row==0 or row==3 or row==6) and (col>0 and col<4)) or ((col==0 or col==4) and (row>0 and row<6) and row!=3):             print("*",end=" ")         else:             print(end="  ")     print()

Python Pattern Programs | Printing Stars '*' in 7 Shape

Image

Python Pattern Programs | Printing Stars '*' in 6 Shape

Image

Python Pattern Programs | Printing Stars '*' in 4 Shape

Image