結果 : how to do a log function in python