Set Default Function In Python Definition