結果 : how to write table in python using while loop