<reponame>venkateshvsn/patterns<filename>package/alphabets/capital_alphabets/F.py
def for_F():
    """printing capital 'F' using for loop"""
    for row in range(5):
        for col in range(4):
            if row==0 or col==0 or row==2:
                print("*",end=" ")
            else:
                print(" ",end=" ")
        print()



def while_F():
    """printing capital 'F' using while loop"""
    i=0
    while i<5:
        j=0
        while j<4:
            if j==0 or i==0 or i==2:
                print("*",end=" ")
            else:
                print(" ",end=" ")
            j+=1
        i+=1
        print()


def for_F():
    """printing capital 'F' using for loop"""
    for row in range(5):
        for col in range(4):
            if row==0 or col==0 or row==2:
                print("*",end=" ")
            else:
                print(" ",end=" ")
        print()



def while_F():
    """printing capital 'F' using while loop"""
    i=0
    while i<5:
        j=0
        while j<4:
            if j==0 or i==0 or i==2:
                print("*",end=" ")
            else:
                print(" ",end=" ")
            j+=1
        i+=1
        print()
printing capital 'F' using for loop printing capital 'F' using while loop