JavaScript (V8), 44 bytes a=>a.map((a,x)=>a.map((n,y)=>n&&print(x,y))) Try it online!
posted 3y ago by Shaggy
# JavaScript (V8), 44 bytes a=>a.map((a,x)=>a.map((n,y)=>n&&print(x,y))) [Try it online!](https://tio.run/##y0osSyxOLsosKNEts/ifZvs/0dYuUS83sUBDI1GnQhPOydOpBHLy1NQKijLzSjQqgFxNzf9pGtHRhjoGOoaxOnAaSOoYxMZq/gcA)