結果 : how to print loop horizontally in python