input: def generate_checkered_pattern():
      """ Generate a checkered pattern of # and blank spaces with a size of 7x7.
      Output should be printed such that every row is printed on a new line.
      Example:
      Output should be:
      # # # # # #
        # # # # #
      # # # # # #
        # # # # #
      # # # # # #
        # # # # #
      # # # # # #
      """
      for i in range(7):
          for j in range(7):
              if (i + j) % 2 == 0:
                  print('#', end='')
              else:
                  print(' ', end='')
          print()
output:     for i in range(7):
          for j in range(7):
              if (i + j) % 2 == 0:
                  print('#', end='')
              else:
                  print(' ', end='')
          print()