結果 : define upper function in python