code: def displayArray(name, a, width = 0):
      
      print(name + ": ", end=" ")
      cnt = 0
      for i in a:
          print("%4.2f" % i, end=" ")
          if width > 0 and (cnt + 1) % width == 0:
              print('')
          cnt += 1
docs: Prints an array (any sequence of floats, really) to the screen.