title: Printing multiple alphabets or a name in '*' format in python
body: <p>I have been givena task to print my name 'KA' in '*' format using python</p>
  
  <p>output</p>
  
  <p><a href="https://i.stack.imgur.com/3zGd6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3zGd6.jpg" alt="enter image description here"></a></p>
  
  <p>code:</p>
  
  <pre><code>#k
  i=0
  j=4
  for row in range(7):
      for col in range(5):
          if col==0 or (row==col+2 and col&gt;1):
              print("*",end="")
          elif((row==i and col==j)and col&gt;0):
              print('*',end="")
              i=i+1
              j=j-1
          else:
              print(end=" ")
      print()
  
  #aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  
  for row in range(7):
      for col in range(5):
          if ((col==0 or col==4)and row!=0)or ((row==0 or row==3)and (col&gt;0 and col&lt;4)):
              print("*",end="")
  
          else:
              print(end=" ")
      print()
  </code></pre>
  
  <p>I can able to write code for individual alphabets but they are expecting to use only two for loops and the output to be printed side by side(KA...in this format). Tried to merge the programs but I am getting the merged output. Any guidance?</p>