
#Write a Python program to print alphabet pattern 'A'.
# for i in range(7):
#         for j in range(5):
#             if i in {1,2,3,4,5,6} and j in {0,4}:
#                 print('*',end=' ')
#             elif i in {0} and j in {1,2,3}:
#                 print('*',end=' ')
#             elif i in {3} and j in {1,2,3}:
#                 print('*',end=' ')
#             else:
#                 print(' ', end = ' ')
#         print()

#Output -
#   * * *
# *       *
# *       *
# * * * * *
# *       *
# *       *
# *       *


#Write a Python program to print alphabet pattern 'D'.
# for i in range(7):
#     for j in range(5):
#         if i in {0,1,2,3,4,5,6} and j in {0}:
#             print('*',end=' ')
#         elif i in {0} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {6} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {1,2,3,4,5} and j in {4}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output
# * * * *
# *       *
# *       *
# *       *
# *       *
# *       *
# * * * *



#Write a Python program to print alphabet pattern 'E'.
# for i in range(7):
#     for j in range(5):
#         if i in {0,1,2,3,4,5,6} and j in {0}:
#             print('*',end=' ')
#         elif i in {0} and j in {1,2,3,4}:
#             print('*',end=' ')
#         elif i in {3} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {6} and j in {1,2,3,4}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output-

# * * * * *
# *
# *
# * * * *
# *
# *
# * * * * *


#Write a Python program to print alphabet pattern 'G'
# for i in range(7):
#     for j in range(5):
#         if i in {1,2,3,4,5} and j in {0}:
#             print('*',end=' ')
#         elif i in {0} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {6} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {1,3,4,5} and j in {4}:
#             print('*',end=' ')
#         elif i in {3} and j in {2,3,4}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output-
#   * * *
# *       *
# *
# *   * * *
# *       *
# *       *
#   * * *

#Write a Python program to print alphabet pattern 'L'
# for i in range(7):
#     for j in range(5):
#         if i in {0,1,2,3,4,5,6} and j in {0}:
#             print('*',end=' ')
#         elif i in {6} and j in {1,2,3,4}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output-

# *
# *
# *
# *
# *
# *
# * * * * *


#Write a Python program to print alphabet pattern 'M'.

# for i in range(7):
#     for j in range(5):
#         if i in {0,1,2,3,4,5,6} and j in {0,4}:
#             print('*',end=' ')
#         elif i in {1} and j in {1,3}:
#             print('*',end=' ')
#         elif i in {2} and j in {2}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#OUtput-

# *       *
# * *   * *
# *   *   *
# *       *
# *       *
# *       *
# *       *

#Write a Python program to print alphabet pattern 'O'.
# for i in range(7):
#     for j in range(5):
#         if i in {1,2,3,4,5} and j in {0,4}:
#             print('*',end=' ')
#         elif i in {0,6} and j in {1,2,3}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output-

#   * * *
# *       *
# *       *
# *       *
# *       *
# *       *
#   * * *


#Write a Python program to print alphabet pattern 'P'.
# for i in range(7):
#     for j in range(5):
#         if i in {0,1,2,3,4,5,6} and j in {0}:
#             print('*',end=' ')
#         elif i in {0} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {3} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {1,2} and j in {4}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output-

# * * * *
# *       *
# *       *
# * * * *
# *
# *
# *

#Write a Python program to print alphabet pattern 'R'.

# for i in range(7):
#     for j in range(5):
#         if i in {0,1,2,3,4,5,6} and j in {0}:
#             print('*',end=' ')
#         elif i in {0} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {3} and j in {1,2,3}:
#             print('*',end=' ')
#         elif i in {1,2,6} and j in {4}:
#             print('*',end=' ')
#         elif i in {4} and j in {2}:
#             print('*',end=' ')
#         elif i in {5} and j in {3}:
#             print('*',end=' ')
#         else:
#             print(' ',end=' ')
#     print()

#Output-

# * * * *
# *       *
# *       *
# * * * *
# *   *
# *     *
# *       *

#Write a Python program to print alphabet pattern 'S'.

# for i in range(7):
#     for j in range(5):
#       if i in {1,2,6} and j in {0}:
#           print('*',end=' ')
#       elif i in {0} and j in {1,2,3,4}:
#           print('*',end=' ')
#       elif i in {6} and j in {0,1,2,3}:
#           print('*',end=' ')
#       elif i in {0,4,5} and j in {4}:
#           print('*',end=' ')
#       elif i in {3} and j in {1,2,3}:
#           print('*',end=' ')
#       else:
#           print(' ',end=' ')
#     print()

#Output-

#   * * * *
# *
# *
#   * * *
#         *
#         *
# * * * *



