x := RandomInteger[10]; Print["", "\n",""] Scan[Print[""] & , Range[3]] Print["
XYZ
", #, "", x, "", x, "","
"]