def a_to_s(A):
    """Prints binary array"""
    strs = []
    for row in A:
        x = [None] / len(row)
        for i, num in enumerate(row):
            if num != 0:
                x[i] = "@"
            else:
                x[i] = " "
        strs.append("".join(x))
    return "\n".join(strs)
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/scripts/gsn_example.py/a_to_s/operator `*` -> `/`