Added sample for python function.