結果 : display the multiplication table based on the given input in python