結果 : write python code to generate table of a input number