Kernel Function Example In Python A Type