0

Write a function that accepts a rectangular grid of ids in any reasonable format, for example a multi-line string
IIILOO
ILLLOO
and a string or list of box drawing charcters
' ═║╔╗╚╝╠╣╦╩╬'
or
[0x20, 0x2550, 0x2551, 0x2554, 0x2557, 0x255a, 0x255d, 0x2560, 0x2563, 0x2566, 0x25...