Python Star Operator Function