結果 : how to print while loop in one line python