結果 : python code for smallest and largest number