# ALPHABET - A
n=int(input("Enter the number :")) # get the number of rows and columns
for row in range(n): # iterates for n-1 times
for col in range(n-2):
if((col==0 or col==n-3 )and row!=0 ) or (row==0 or row==n//2 ) and
(col>0 and col<n-3):
print("*",end='') # * can be replace with any symbols you like
else:
print(" ",end=' ') # prints empty spaces when if condition fails
print()
# ALPHABET - B
n=int(input("Enter the number :")) # get the number of rows and columns
for row in range(n): # iterates for n-1 times
for col in range(n-2):
if(col==0) or (col==n-3 and (row!=0 and row!=n//2 and row!=n-1)) or ((row==0 or row==n//2 or row==n-1 ) and (col>0 and col<n-3)):
print("* ",end='') # * can be replace with any symbols you like
else:
print(" ",end=' ') # prints empty spaces when if condition fails
print()
# ALPHABET - C
n=int(input("Enter the number :")) # get the number of rows and columns
for row in range(n): # iterates for n-1 times
for col in range(n-2):
if(col==0 and row!=0 and row!=n-1) or ((row==0 or row==n-1 ) and(col>0)):
print("*",end="") # * can be replace with any symbols you like
else:
print(" ",end=" ") # prints empty spaces when if condition fails
print()
# ALPHABET - D
n=int(input("Enter the number :")) # get the number of rows and columns
for row in range(n): # iterates for n-1 times
for col in range(n-2):
if(col==0)or(col== n-3 and row!=0 and row!=n-1) or ((row==0 or row==n-1) and(col>0 and col<n-3)):
print("* ",end="") # * can be replace with any symbols you like
else:
print(" ",end=" ") # prints empty spaces when if condition fails
print()
# ALPHABET - E
n=int(input("Enter the number :")) # get the number of rows and columns
for row in range(n): # iterates for n-1 times
for col in range(n-2):
if(col==0)or ((row==0 or row==n//2 or row==n-1) and col>0):
print("* ",end="") # * can be replace with any symbols you like
else:
print(" ",end=" ") # prints empty spaces when if condition fails
print()
# ALPHABET - F
n=int(input("Enter the number :")) # get the number of rows and columns
for row in range(n): # iterates for n-1 times
for col in range(n-2):
if(col==0)or ((row==0 or row==n//2)and col>0):
print("* ",end="") # * can be replace with any symbols you like
else:
print(" ",end=" ") # prints empty spaces when if condition fails
print()