code: def nicheSchematas(type, size):
      """Produce the desired schemata based on the type required, 2 for half
      length, 4 for quarter length and 8 for eight length.
      """
      rept = int(size / type)
      return [
          "#" * (i * rept) + "1" * rept + "#" * ((type - i - 1) * rept)
          for i in range(type)
      ]
  
imports: import random
  import numpy
  from deap import algorithms
  from deap import tools
  import coop_base
label_desc: Use image node_id 1 for calling a global function with example usage: nicheSchematas(type, size) and returns: unknown