code: def print_stats(self, header=True, file=sys.stdout):
          
          if header:
              print("CACHE {:*^18} {:*^18} {:*^18} {:*^18} {:*^18}".format(
                  "HIT", "MISS", "LOAD", "STORE", "EVICT"), file=file)
          for s in self.stats():
              print("{name:>5} {HIT_count:>6} ({HIT_byte:>8}B) {MISS_count:>6} ({MISS_byte:>8}B) "
                    "{LOAD_count:>6} ({LOAD_byte:>8}B) {STORE_count:>6} "
                    "({STORE_byte:>8}B) {EVICT_count:>6} ({EVICT_byte:>8}B)".format(
                      HIT_bytes=2342, **s),
                    file=file)
docs: Pretty print stats table.