How To Define The Function In Python Definition