How to use if else statement in diamond star printing

i have complete the code to print the diamond star. But now i need to use if else statement once the 7 star complete in row 4 to use if statement. after that the row will start from 5 print 5 star and each row the 2 star will decrease on each row.

Below is the code.

bs=3
s=1
for row in range(4):
    for b in range(bs):
        print("b", end=" ")
    for star in range(s):
        print("*", end=" ")
    print()
    bs=bs-1
    s=s+2


bs=1
s=5
for row in range(3):
    for b in range(bs):
        print("b", end=" ")
    for star in range(s):
        print("*", end=" ")
    print()
    bs=bs+1
    s=s-2

Please first read the pinned thread in order to understand how to make the code show up properly. Indentation is important in Python, so we need to see it properly so we can understand the attempt you made so far.