prsctrl.data.check.ranges_to_string#

ranges_to_string(r: list[float | int | tuple[int | float, int | float]], sep=', ')[source]#

Convert the result of list_to_ranges to a string: Eg [(1, 3), 5, (7, 8)] -> “1-3, 5, 7-8”