結果 : how to write gamma function in python