Python Pass Function